Kaydet (Commit) 0e0be1be authored tarafından Noel Grandin's avatar Noel Grandin

remove SFX_SLOTMAP macro

an impediment to understanding

Change-Id: Ic88f52a921a9f6f3e4244b73d4e1e8970c77677f
üst fe889944
...@@ -537,8 +537,6 @@ inline void SfxShell::SetPool ...@@ -537,8 +537,6 @@ inline void SfxShell::SetPool
pPool = pNewPool; pPool = pNewPool;
} }
#define SFX_SLOTMAP(ShellClass) static SfxSlot a##ShellClass##Slots_Impl[] =
#define SFX_DECL_INTERFACE(nId) \ #define SFX_DECL_INTERFACE(nId) \
static SfxInterface* pInterface; \ static SfxInterface* pInterface; \
static SfxInterface* GetStaticInterface(); \ static SfxInterface* GetStaticInterface(); \
......
...@@ -31,7 +31,7 @@ namespace sd { ...@@ -31,7 +31,7 @@ namespace sd {
//===== LeftImpressPaneShell ================================================== //===== LeftImpressPaneShell ==================================================
SFX_SLOTMAP(LeftImpressPaneShell) static SfxSlot aLeftImpressPaneShellSlots_Impl[] =
{ {
{ 0, 0, 0, SfxSlotMode::NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } { 0, 0, 0, SfxSlotMode::NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
}; };
...@@ -57,7 +57,7 @@ LeftImpressPaneShell::~LeftImpressPaneShell (void) ...@@ -57,7 +57,7 @@ LeftImpressPaneShell::~LeftImpressPaneShell (void)
//===== LeftDrawPaneShell ===================================================== //===== LeftDrawPaneShell =====================================================
SFX_SLOTMAP(LeftDrawPaneShell) static SfxSlot aLeftDrawPaneShellSlots_Impl[] =
{ {
{ 0, 0, 0, SfxSlotMode::NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } { 0, 0, 0, SfxSlotMode::NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
}; };
......
...@@ -49,7 +49,7 @@ using namespace ::com::sun::star::uno; ...@@ -49,7 +49,7 @@ using namespace ::com::sun::star::uno;
// Standardinterface deklarieren (Die Slotmap darf nicht leer sein, also // Standardinterface deklarieren (Die Slotmap darf nicht leer sein, also
// tragen wir etwas ein, was hier (hoffentlich) nie vorkommt). // tragen wir etwas ein, was hier (hoffentlich) nie vorkommt).
SFX_SLOTMAP(ExtrusionBar) static SfxSlot aExtrusionBarSlots_Impl[] =
{ {
{ 0, 0, 0, SfxSlotMode::NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } { 0, 0, 0, SfxSlotMode::NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
}; };
......
...@@ -167,7 +167,7 @@ void SetFontWorkShapeTypeState( SdrView* pSdrView, SfxItemSet& rSet ) ...@@ -167,7 +167,7 @@ void SetFontWorkShapeTypeState( SdrView* pSdrView, SfxItemSet& rSet )
// Standardinterface deklarieren (Die Slotmap darf nicht leer sein, also // Standardinterface deklarieren (Die Slotmap darf nicht leer sein, also
// tragen wir etwas ein, was hier (hoffentlich) nie vorkommt). // tragen wir etwas ein, was hier (hoffentlich) nie vorkommt).
SFX_SLOTMAP(FontworkBar) static SfxSlot aFontworkBarSlots_Impl[] =
{ {
{ 0, 0, 0, SfxSlotMode::NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } { 0, 0, 0, SfxSlotMode::NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment