diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgdir.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx index 7f1230ccbbb1..dacd8909d586 100644 --- a/sot/source/sdstor/stgdir.cxx +++ b/sot/source/sdstor/stgdir.cxx @@ -417,13 +417,11 @@ sal_Int32 StgDirEntry::Seek( sal_Int32 nNew ) if( nNew < 0 ) nNew = nSize; - // try to enlarge, the readonly streams should not allow this + // try to enlarge, readonly streams do not allow this if( nNew > nSize ) { if ( !( m_nMode & StreamMode::WRITE ) || !SetSize( nNew ) ) { - SAL_WARN_IF(!(m_nMode & StreamMode::WRITE), "sot", - "Trying to resize readonly stream by seeking, could be a wrong offset: " << nNew); return m_nPos; } else |