sw/source/uibase/shells/textsh.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f8317f97baf0d450500ba70d34401ae3ba959eed
Author: Michael Meeks <michael.me...@collabora.com>
Date:   Thu Apr 26 19:08:53 2018 +0100

    Use async dialog path for format columns.
    
    Change-Id: I7097abd68b5921697d1d5f39f5e81ac961b61226
    Reviewed-on: https://gerrit.libreoffice.org/53538
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/sw/source/uibase/shells/textsh.cxx 
b/sw/source/uibase/shells/textsh.cxx
index e61436d47bd2..ed2273d314fa 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -524,9 +524,9 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
     {
         SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
         assert(pFact && "Dialog creation failed!");
-        ScopedVclPtr<VclAbstractDialog> 
pColDlg(pFact->CreateSwColumnDialog(GetView().GetWindow(), rSh));
+        VclPtr<VclAbstractDialog> 
pColDlg(pFact->CreateSwColumnDialog(GetView().GetWindow(), rSh));
         assert(pColDlg && "Dialog creation failed!");
-        pColDlg->Execute();
+        pColDlg->StartExecuteAsync([](sal_Int32 /*nResult*/){});
     }
     break;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to