diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgstrms.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx index 35d99f27751f..9efd318be758 100644 --- a/sot/source/sdstor/stgstrms.cxx +++ b/sot/source/sdstor/stgstrms.cxx @@ -1327,7 +1327,7 @@ sal_uInt64 StgTmpStrm::SeekPos(sal_uInt64 n) assert(n != SAL_MAX_UINT32); if( n == STREAM_SEEK_TO_END ) n = GetSize(); - if( n && n > THRESHOLD && !m_pStrm ) + if( n > THRESHOLD && !m_pStrm ) { SetSize( n ); if( GetError() != ERRCODE_NONE ) |