summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-30 19:25:20 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-30 19:25:20 +0100
commitd0c94302b89a99c31a7a76f07c58b29638ac3d0f (patch)
tree0b295f49ac05fd5f97c2a410b29a694b103a1a00 /sot
parent2be8a22e836b6bb7172f4b51c13440813bb9ae9a (diff)
coverity#440717 Dereference after null check
Change-Id: I2ff581a72aa66bff8943d31499013b31e360333b
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() );