[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Jan 10 14:13:04 UTC 2019
sw/source/uibase/shells/textidx.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6fcb1baf4678c2c34595f38fa4e557cffd67f163
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Jan 10 11:43:11 2019 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Jan 10 15:12:41 2019 +0100
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 at collabora.co.uk>
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:
More information about the Libreoffice-commits
mailing list