[Libreoffice-commits] core.git: sw/source
Michael Meeks
michael.meeks at collabora.com
Thu Apr 26 21:12:47 UTC 2018
sw/source/uibase/shells/textsh.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e9ac3a9c1ee7689c4d591a68250666c95632bd2a
Author: Michael Meeks <michael.meeks at 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/53537
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index c2747c86243e..357d0483184e 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -525,9 +525,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;
More information about the Libreoffice-commits
mailing list