diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2018-04-26 19:08:53 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-04-26 23:11:25 +0200 |
commit | e9ac3a9c1ee7689c4d591a68250666c95632bd2a (patch) | |
tree | 85505a22ab77cfbbda81b82d8cf71d697f95c559 /sw/source/uibase/shells/textsh.cxx | |
parent | 9d9076cb00c474ba7f13d458f1e280e31f5d4bac (diff) |
Use async dialog path for format columns.
Change-Id: I7097abd68b5921697d1d5f39f5e81ac961b61226
Reviewed-on: https://gerrit.libreoffice.org/53537
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sw/source/uibase/shells/textsh.cxx')
-rw-r--r-- | sw/source/uibase/shells/textsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |