diff options
author | NickWingate <nick.wingate@collabora.com> | 2022-02-23 14:11:49 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-04-14 08:53:39 +0200 |
commit | a1f9fea520f5b3f5d54a284886aa531693f32e7a (patch) | |
tree | 7e4e45ce0db6a80a0c0be2b8ab4214155f5c2ff9 /sw | |
parent | 6c8dffc19e2a570d5665344dcba6afedd3dc2e15 (diff) |
Make accessibility check dialog async
Signed-off-by: NickWingate <nick.wingate@collabora.com>
Change-Id: I88913b3d7e580a1d8c69a39454f2598e11ba43ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130438
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Mert Tumer <mert.tumer@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit 61fed0c4fe53738254d116543417f1c7028a0f39)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130451
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/shells/basesh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index aee2526f8029..c5b46d42d90d 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -2798,8 +2798,8 @@ void SwBaseShell::ExecDlg(SfxRequest &rReq) { sw::AccessibilityCheck aCheck(rSh.GetDoc()); aCheck.check(); - svx::AccessibilityCheckDialog aDialog(pMDI, aCheck.getIssueCollection()); - aDialog.run(); + std::shared_ptr<svx::AccessibilityCheckDialog> aDialog = std::make_shared<svx::AccessibilityCheckDialog>(pMDI, aCheck.getIssueCollection()); + weld::DialogController::runAsync(aDialog, [](int){}); } break; |