[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sw/source

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 20 11:06:43 UTC 2020


 sw/source/uibase/uiview/view2.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit f6c00b4ec0c3d111a616673cc33a4f5e9b9657a5
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Jul 20 12:42:36 2020 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Jul 20 13:06:05 2020 +0200

    Make Line Numbering dialog async
    
    Change-Id: I196008ec58feab9d9a2e41c8901ed5d5a2fc9b4c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99037
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx
index 2885fa0af8e2..2691214240e1 100644
--- a/sw/source/uibase/uiview/view2.cxx
+++ b/sw/source/uibase/uiview/view2.cxx
@@ -556,7 +556,9 @@ void SwView::Execute(SfxRequest &rReq)
         {
             SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
             ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateVclSwViewDialog(*this));
-            pDlg->Execute();
+            VclAbstractDialog::AsyncContext aContext;
+            aContext.maEndDialogFn = [](sal_Int32){};
+            pDlg->StartExecuteAsync(aContext);
             break;
         }
         case FN_EDIT_LINK_DLG:


More information about the Libreoffice-commits mailing list