sfx2/source/doc/objstor.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 42e49dcfda9e98ffa3fccb5a5d2c3b11cda5d9c6 Author: Caolán McNamara <caol...@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;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits