Kaydet (Commit) 2be92a9d authored tarafından Jan Holesovsky's avatar Jan Holesovsky

svidl: Unwind SFX_SLOTMAP_ARG, and kill it.

Change-Id: Icd99fd2cd530f52b0acf5d91667eeec8142e8340
üst 62256ea1
...@@ -611,7 +611,7 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ) ...@@ -611,7 +611,7 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm )
rOutStm << endl; rOutStm << endl;
// write slotmap // write slotmap
rOutStm.WriteCharPtr( "SFX_SLOTMAP_ARG(" ).WriteCharPtr( GetName().getString().getStr() ).WriteChar( ')' ) << endl; rOutStm.WriteCharPtr("static SfxSlot a").WriteCharPtr(GetName().getString().getStr()).WriteCharPtr("Slots_Impl[] =") << endl;
rOutStm.WriteChar( '{' ) << endl; rOutStm.WriteChar( '{' ) << endl;
// write all attributes // write all attributes
......
...@@ -298,8 +298,6 @@ inline void SfxShell::SetPool ...@@ -298,8 +298,6 @@ inline void SfxShell::SetPool
#define SFX_SLOTMAP(ShellClass) static SfxFormalArgument a##ShellClass##Args_Impl[1]; \ #define SFX_SLOTMAP(ShellClass) static SfxFormalArgument a##ShellClass##Args_Impl[1]; \
static SfxSlot a##ShellClass##Slots_Impl[] = static SfxSlot a##ShellClass##Slots_Impl[] =
#define SFX_SLOTMAP_ARG(ShellClass) static SfxSlot a##ShellClass##Slots_Impl[] =
#define SFX_DECL_INTERFACE(nId) \ #define SFX_DECL_INTERFACE(nId) \
static SfxInterface* pInterface; \ static SfxInterface* pInterface; \
private: \ private: \
......
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