summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/storage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index 130043ea803f..52057a4759bb 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -337,7 +337,7 @@ sal_Bool SotStorageStream::Commit()
sal_Bool SotStorageStream::Revert()
{
- if( !pOwnStm )
+ if( pOwnStm )
{
pOwnStm->Revert();
SetError( pOwnStm->GetError() );