[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara
caolanm at redhat.com
Wed Oct 15 01:12:48 PDT 2014
sfx2/source/doc/objstor.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 42e49dcfda9e98ffa3fccb5a5d2c3b11cda5d9c6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Oct 13 10:18:24 2014 +0100
coverity#1244937 Unchecked return value
Change-Id: I7691103b5011861d9e84860671be8e46651a27b1
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index f5b7f11..8828551 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1078,9 +1078,10 @@ bool SfxObjectShell::DoSave()
}
if (bOk)
- Save();
+ bOk = Save();
- bOk = pMedium->Commit();
+ if (bOk)
+ bOk = pMedium->Commit();
}
return bOk;
More information about the Libreoffice-commits
mailing list