[Libreoffice-commits] core.git: include/sfx2

Noel Grandin noel.grandin at collabora.co.uk
Tue Mar 28 10:50:09 UTC 2017


 include/sfx2/msg.hxx |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 9aee1f80a50f950a8c2035df6ccdc2b420e1e4f8
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Tue Mar 28 11:26:19 2017 +0200

    SFX_SLOT macro is unused
    
    Change-Id: I29ef05eda5a6e552d497e42220f36200401a3ef1
    Reviewed-on: https://gerrit.libreoffice.org/35795
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx
index d16f6b4dd0a7..0bc391c8a6aa 100644
--- a/include/sfx2/msg.hxx
+++ b/include/sfx2/msg.hxx
@@ -158,15 +158,6 @@ SFX_DECL_TYPE(23); // for SvxSearchItem
                  &a##aShellClass##Args_Impl[nArg0], nArgs, SfxDisableFlags::NONE, Name \
                }
 
-#define SFX_SLOT( aShellClass, id, GroupId, ExecMethodPtr, StateMethodPtr, Flags, ItemClass ) \
-               { id, GroupId, Flags, \
-                 0, 0, \
-                 ExecMethodPtr, \
-                 StateMethodPtr, \
-                 (const SfxType*) &a##ItemClass##_Impl, \
-                 0, 0, 0, 0 \
-               }
-
 #define SFX_NEW_SLOT_ARG( aShellClass, id, GroupId, pNext, ExecMethodPtr, StateMethodPtr, Flags, DisableFlags, ItemClass, nArg0, nArgs, Prop, UnoName ) \
                { id, GroupId, Flags | Prop, \
                  USHRT_MAX, 0, \


More information about the Libreoffice-commits mailing list