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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 20 12:05:41 UTC 2019


 sc/source/ui/docshell/docsh4.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 82959e46f69561b9b8f8be9f7daf1c96d3ea7061
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jun 20 09:33:10 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jun 20 14:04:20 2019 +0200

    dispose on all responses, not just OK
    
    Change-Id: Ie78a1cb4fa7f188aeab547d49123449f06b0da6c
    Reviewed-on: https://gerrit.libreoffice.org/74426
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index c036b3ea496b..a5a42acddfa2 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -1862,8 +1862,8 @@ void ScDocShell::ExecutePageStyle( const SfxViewShell& rCaller,
 
                                 SetDocumentModified();
                                 xRequest->Done();
-                                pDlg->disposeOnce();
                             }
+                            pDlg->disposeOnce();
                         });
                     }
                 }


More information about the Libreoffice-commits mailing list