[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Jan 18 14:10:53 UTC 2019
sw/source/uibase/shells/textidx.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7f0c8d2a5e2833fc5bfedd1fd23b2e4e9c055a21
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: Fri Jan 18 15:10:26 2019 +0100
make table-of-contents dialog async
Change-Id: I839eaa820952ff39818b5ed9bd06a44eec3f39d3
Reviewed-on: https://gerrit.libreoffice.org/66103
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Reviewed-by: Mert Tümer <mert.tumer at collabora.com>
Tested-by: Mert Tümer <mert.tumer at collabora.com>
diff --git a/sw/source/uibase/shells/textidx.cxx b/sw/source/uibase/shells/textidx.cxx
index 73061b385934..db920252f59a 100644
--- a/sw/source/uibase/shells/textidx.cxx
+++ b/sw/source/uibase/shells/textidx.cxx
@@ -138,11 +138,11 @@ void SwTextShell::ExecIdx(SfxRequest const &rReq)
}
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "Dialog creation failed!");
- ScopedVclPtr<AbstractMultiTOXTabDialog> pDlg(pFact->CreateMultiTOXTabDialog(
+ VclPtr<AbstractMultiTOXTabDialog> pDlg(pFact->CreateMultiTOXTabDialog(
pMDI, aSet, rSh, const_cast<SwTOXBase*>(pCurTOX),
bGlobal));
OSL_ENSURE(pDlg, "Dialog creation failed!");
- pDlg->Execute();
+ pDlg->StartExecuteAsync(nullptr);
}
break;
case FN_REMOVE_CUR_TOX:
More information about the Libreoffice-commits
mailing list