[Libreoffice-commits] core.git: Branch 'libreoffice-5-0-3' - svx/source

Lionel Elie Mamane lionel at mamane.lu
Tue Oct 27 05:58:29 UTC 2015


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

New commits:
commit a1c960d9c001943d79fda64d664174dc7fda61ac
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/19440
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>

diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index 3f3ddfd..fdf7417 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