[Libreoffice-commits] core.git: svx/source

Lionel Elie Mamane lionel at mamane.lu
Sun Oct 18 09:46:58 PDT 2015


 svx/source/form/fmshell.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 36303eee68680dd1f7a080b93caf8fca65672799
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Sun Oct 18 18:42:05 2015 +0200

    tdf#72205 when saving changes, mark we did a prepareClose
    
    Change-Id: I8a86447bdd227621ff7b0b3551798ee343379c74
    Reviewed-on: https://gerrit.libreoffice.org/19434
    Reviewed-by: Lionel Elie Mamane <lionel at mamane.lu>
    Tested-by: Lionel Elie Mamane <lionel at mamane.lu>

diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index 100944a..31d9e55 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;
 


More information about the Libreoffice-commits mailing list