Kaydet (Commit) 7f0c8d2a authored tarafından Noel Grandin's avatar Noel Grandin

make table-of-contents dialog async

Change-Id: I839eaa820952ff39818b5ed9bd06a44eec3f39d3
Reviewed-on: https://gerrit.libreoffice.org/66103Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: 's avatarMert Tümer <mert.tumer@collabora.com>
Tested-by: 's avatarMert Tümer <mert.tumer@collabora.com>
üst 1e532297
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment