summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-10 11:43:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-10 15:12:41 +0100
commit6fcb1baf4678c2c34595f38fa4e557cffd67f163 (patch)
tree4c20a678c80a82fff0b5de5719eb0f6b4ec81121 /sw
parent888957648d15c60cd5849f8f8c2bdf55a3b78da8 (diff)
make table-of-contents dialog async
Change-Id: I839eaa820952ff39818b5ed9bd06a44eec3f39d3 Reviewed-on: https://gerrit.libreoffice.org/66069 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/shells/textidx.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/textidx.cxx b/sw/source/uibase/shells/textidx.cxx
index b346178420f6..323bb365d26d 100644
--- a/sw/source/uibase/shells/textidx.cxx
+++ b/sw/source/uibase/shells/textidx.cxx
@@ -131,10 +131,10 @@ void SwTextShell::ExecIdx(SfxRequest const &rReq)
aSet.Put(*pSet);
}
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
- ScopedVclPtr<AbstractMultiTOXTabDialog> pDlg(pFact->CreateMultiTOXTabDialog(
+ VclPtr<AbstractMultiTOXTabDialog> pDlg(pFact->CreateMultiTOXTabDialog(
pMDI, aSet, rSh, const_cast<SwTOXBase*>(pCurTOX),
bGlobal));
- pDlg->Execute();
+ pDlg->StartExecuteAsync(nullptr);
}
break;
case FN_REMOVE_CUR_TOX: