From e9ac3a9c1ee7689c4d591a68250666c95632bd2a Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 26 Apr 2018 19:08:53 +0100 Subject: Use async dialog path for format columns. Change-Id: I7097abd68b5921697d1d5f39f5e81ac961b61226 Reviewed-on: https://gerrit.libreoffice.org/53537 Tested-by: Jenkins Reviewed-by: Michael Meeks --- sw/source/uibase/shells/textsh.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/uibase/shells/textsh.cxx') 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 pColDlg(pFact->CreateSwColumnDialog(GetView().GetWindow(), rSh)); + VclPtr pColDlg(pFact->CreateSwColumnDialog(GetView().GetWindow(), rSh)); assert(pColDlg && "Dialog creation failed!"); - pColDlg->Execute(); + pColDlg->StartExecuteAsync([](sal_Int32 /*nResult*/){}); } break; -- cgit