summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-10-18 18:42:05 +0200
committerAndras Timar <andras.timar@collabora.com>2015-10-29 13:08:52 +0100
commitcaddeb911c346f3fb139e31d471774ea63bac836 (patch)
tree47ee890497ef2aa2347c1997c07bd791eeac62c5 /svx
parentded9e51fda12d01e381a5353e6ee412ec89548ff (diff)
tdf#72205 when saving changes, mark we did a prepareClose
Change-Id: I8a86447bdd227621ff7b0b3551798ee343379c74 Reviewed-on: https://gerrit.libreoffice.org/19437 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> (cherry picked from commit b392270d68d483a1566e7281c6400874a42ce4b3)
Diffstat (limited to 'svx')
-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;