diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 4503c8506c27..e9ea19bd3ffe 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -169,11 +169,10 @@ SotStorageStream::~SotStorageStream() *************************************************************************/ void SotStorageStream::SyncSvStream() { - ULONG nPos = 0; if( pOwnStm ) { pOwnStm->Flush(); - nPos = pOwnStm->Tell(); + ULONG nPos = pOwnStm->Tell(); SetError( pOwnStm->GetError() ); SvStream::SyncSvStream( nPos ); } |