diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-01-17 15:20:31 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-01-18 15:18:16 +0100 |
commit | d3dbbdce4eb71ae848e7682374e011c4a6129b15 (patch) | |
tree | c27c21e950212b14fa441d0b3bc8280047907305 /cui | |
parent | e6e125946358865990ea999c8a4845ec84eb7088 (diff) |
lokdialog: Convert the Format -> ... -> Position and Size... to async exec.
Change-Id: Idcdbfb1366db61e247c31eab5cb27a39978b0fd9
Reviewed-on: https://gerrit.libreoffice.org/48055
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index c3240f954532..eef4029ffcb3 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -67,12 +67,17 @@ public: \ explicit Class( DialogClass* p) \ : pDlg(p) \ {} \ - virtual short Execute() override ; + virtual short Execute() override; \ + virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override; #define IMPL_ABSTDLG_BASE(Class) \ short Class::Execute() \ { \ return pDlg->Execute(); \ +} \ +bool Class::StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) \ +{ \ + return pDlg->StartExecuteAsync(rCtx); \ } class VclAbstractDialog2_Impl : public VclAbstractDialog2 |