diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-21 15:46:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-22 07:29:17 +0200 |
commit | 3ddae219e4be882704ffd917e80c1d8b22c5d48b (patch) | |
tree | 1193b8001ffe9f755b12bd2e1f017a402fd710c6 /include/sfx2 | |
parent | 764e3016b62665281539af4e990ca4ff0445c26c (diff) |
remove unused fields pName and pMethodName in SfxSlot class
Change-Id: Icca5a0dee296fae1abeb78ea8ffa2f9e934bb111
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/msg.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx index 60cfdd0dabec..120005e7ba22 100644 --- a/include/sfx2/msg.hxx +++ b/include/sfx2/msg.hxx @@ -174,7 +174,7 @@ SFX_DECL_TYPE(18); // for SvxSearchItem ExecMethodPtr, \ StateMethodPtr, \ (const SfxType*) &a##ItemClass##_Impl, \ - Name, Name, 0, 0, \ + 0, 0, \ &a##aShellClass##Args_Impl[nArg0], nArgs, 0, Name \ } @@ -184,16 +184,15 @@ SFX_DECL_TYPE(18); // for SvxSearchItem ExecMethodPtr, \ StateMethodPtr, \ (const SfxType*) &a##ItemClass##_Impl, \ - 0, 0, 0, 0, 0, 0, 0 \ + 0, 0, 0, 0, 0 \ } -#define SFX_NEW_SLOT_ARG( aShellClass, id, hid, GroupId, pLinked, pNext, ExecMethodPtr, StateMethodPtr, Flags, DisableFlags, ItemClass, nArg0, nArgs, Name, Prop, UnoName ) \ +#define SFX_NEW_SLOT_ARG( aShellClass, id, hid, GroupId, pLinked, pNext, ExecMethodPtr, StateMethodPtr, Flags, DisableFlags, ItemClass, nArg0, nArgs, Prop, UnoName ) \ { id, GroupId, hid, Flags | Prop, \ USHRT_MAX, 0, \ ExecMethodPtr, \ StateMethodPtr, \ (const SfxType*) &a##ItemClass##_Impl, \ - Name, Name, \ pLinked, pNext, \ &a##aShellClass##Args_Impl[nArg0], nArgs, DisableFlags, UnoName \ } @@ -204,7 +203,6 @@ SFX_DECL_TYPE(18); // for SvxSearchItem 0, \ 0, \ (const SfxType*) &aSfxBoolItem_Impl, \ - 0, 0, \ pMaster, \ pNext, \ 0, 0, DisableFlags, UnoName \ @@ -240,9 +238,7 @@ public: SfxExecFunc fnExec; // Function to be excecuted SfxStateFunc fnState; // Function for Status - const SfxType* pType; // SfxPoolItem-Type (Status) - const char* pName; // Name of the Slots - const char* pMethodName; // Name of the Method if different + const SfxType* pType; // SfxPoolItem-Type (Status) const SfxSlot* pLinkedSlot; // Master-Slot for Enum value const SfxSlot* pNextSlot; // with the same Status-Method |