merge
This commit is contained in:
parent
47e77dffb7
commit
dadd371743
1 changed files with 3 additions and 3 deletions
|
@ -91,7 +91,7 @@ InternalStreamLock::InternalStreamLock(
|
||||||
#if OSL_DEBUG_LEVEL > 1
|
#if OSL_DEBUG_LEVEL > 1
|
||||||
fprintf( stderr, "locked %s", aFileName.GetBuffer() );
|
fprintf( stderr, "locked %s", aFileName.GetBuffer() );
|
||||||
if( m_nStartPos || m_nEndPos )
|
if( m_nStartPos || m_nEndPos )
|
||||||
fprintf(stderr, " [ %d ... %d ]", m_nStartPos, m_nEndPos );
|
fprintf(stderr, " [ %ld ... %ld ]", m_nStartPos, m_nEndPos );
|
||||||
fprintf( stderr, "\n" );
|
fprintf( stderr, "\n" );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,7 @@ InternalStreamLock::~InternalStreamLock()
|
||||||
ByteString aFileName(m_pStream->GetFileName(), osl_getThreadTextEncoding());
|
ByteString aFileName(m_pStream->GetFileName(), osl_getThreadTextEncoding());
|
||||||
fprintf( stderr, "unlocked %s", aFileName.GetBuffer() );
|
fprintf( stderr, "unlocked %s", aFileName.GetBuffer() );
|
||||||
if( m_nStartPos || m_nEndPos )
|
if( m_nStartPos || m_nEndPos )
|
||||||
fprintf(stderr, " [ %d ... %d ]", m_nStartPos, m_nEndPos );
|
fprintf(stderr, " [ %ld ... %ld ]", m_nStartPos, m_nEndPos );
|
||||||
fprintf( stderr, "\n" );
|
fprintf( stderr, "\n" );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -514,7 +514,7 @@ sal_Bool SvFileStream::LockRange( sal_Size nByteOffset, sal_Size nBytes )
|
||||||
if( ! InternalStreamLock::LockFile( nByteOffset, nByteOffset+nBytes, this ) )
|
if( ! InternalStreamLock::LockFile( nByteOffset, nByteOffset+nBytes, this ) )
|
||||||
{
|
{
|
||||||
#if OSL_DEBUG_LEVEL > 1
|
#if OSL_DEBUG_LEVEL > 1
|
||||||
fprintf( stderr, "InternalLock on %s [ %d ... %d ] failed\n",
|
fprintf( stderr, "InternalLock on %s [ %ld ... %ld ] failed\n",
|
||||||
ByteString(aFilename, osl_getThreadTextEncoding()).GetBuffer(), nByteOffset, nByteOffset+nBytes );
|
ByteString(aFilename, osl_getThreadTextEncoding()).GetBuffer(), nByteOffset, nByteOffset+nBytes );
|
||||||
#endif
|
#endif
|
||||||
return sal_False;
|
return sal_False;
|
||||||
|
|
Loading…
Reference in a new issue