[Libreoffice-commits] core.git: sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Oct 7 09:45:40 UTC 2019


 sw/source/ui/dialog/swdlgfact.hxx |   21 ---------------------
 1 file changed, 21 deletions(-)

New commits:
commit ebcaefe7d7e7a0aa3b0c20c84657635462100d07
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Oct 5 20:28:55 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Oct 7 11:44:58 2019 +0200

    [DECL|IMPL]_ABSTDLG_BASE now unused
    
    Change-Id: I111d96da3615f5084f10b4e81dd10bc559c29757
    Reviewed-on: https://gerrit.libreoffice.org/80335
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/ui/dialog/swdlgfact.hxx b/sw/source/ui/dialog/swdlgfact.hxx
index fb631418ac81..579fe94562c2 100644
--- a/sw/source/ui/dialog/swdlgfact.hxx
+++ b/sw/source/ui/dialog/swdlgfact.hxx
@@ -56,7 +56,6 @@
 
 class SwInsertAbstractDlg;
 class SwAsciiFilterDlg;
-class Dialog;
 class SwBreakDlg;
 class SwMultiTOXMarkDlg;
 class SwSortDlg;
@@ -86,26 +85,6 @@ class DropDownFormFieldDialog;
 class DateFormFieldDialog;
 }
 
-#define DECL_ABSTDLG_BASE(Class,DialogClass)        \
-private:                                          \
-    ScopedVclPtr<DialogClass> pDlg;                 \
-public:                                             \
-    explicit        Class( DialogClass* p)          \
-                     : pDlg(p)                      \
-                     {}                             \
-    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 SwWordCountFloatDlg;
 class AbstractSwWordCountFloatDlg_Impl : public AbstractSwWordCountFloatDlg
 {


More information about the Libreoffice-commits mailing list