sw/source/uibase/shells/textidx.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7f0c8d2a5e2833fc5bfedd1fd23b2e4e9c055a21
Author:     Noel Grandin <[email protected]>
AuthorDate: Thu Jan 10 11:43:11 2019 +0200
Commit:     Noel Grandin <[email protected]>
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 <[email protected]>
    Reviewed-by: Mert Tümer <[email protected]>
    Tested-by: Mert Tümer <[email protected]>

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:
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to