summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-10-18 18:42:05 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2015-10-27 05:58:08 +0000
commita1c960d9c001943d79fda64d664174dc7fda61ac (patch)
tree29ba7f30323b6b526f9ee5f8e016b2a8fe28b961
parenttdf#93390 correctly handle back-and-forth between numeric and text value (diff)
downloadcore-libreoffice-5-0-3.tar.gz
core-libreoffice-5-0-3.zip
tdf#72205 when saving changes, mark we did a prepareClose libreoffice-5-0-3
Change-Id: I8a86447bdd227621ff7b0b3551798ee343379c74 Reviewed-on: https://gerrit.libreoffice.org/19440 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
-rw-r--r--svx/source/form/fmshell.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index 3f3ddfd440d6..fdf741735236 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -276,6 +276,8 @@ bool FmFormShell::PrepareClose(bool bUI)
{
case RET_NO:
bModified = false;
+ // fallthrough to next case
+ case RET_YES:
GetImpl()->didPrepareClose( true );
break;