[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sw/source
Michael Meeks
michael.meeks at collabora.com
Thu Apr 26 18:40:35 UTC 2018
sw/source/uibase/shells/textsh.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f8317f97baf0d450500ba70d34401ae3ba959eed
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/53538
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at 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;
More information about the Libreoffice-commits
mailing list