Kaydet (Commit) 6b1f8126 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

svidl: Unwind SFX_ARGUMENTMAP macro, and kill it.

Change-Id: I7c4902a4151f207d8a61b76d05fad74a4c8854d4
üst e7f3d21e
......@@ -573,8 +573,8 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm )
return;
}
// write parameter array
rOutStm.WriteCharPtr( "SFX_ARGUMENTMAP(" ).WriteCharPtr( GetName().getString().getStr() ).WriteChar( ')' ) << endl;
rOutStm.WriteChar( '{' ) << endl;
rOutStm.WriteCharPtr("static SfxFormalArgument a").WriteCharPtr(GetName().getString().getStr()).WriteCharPtr("Args_Impl[] =") << endl;
rOutStm.WriteChar('{') << endl;
std::vector<sal_uLong> aSuperList;
SvMetaClassList classList;
......
......@@ -295,10 +295,6 @@ inline void SfxShell::SetPool
pPool = pNewPool;
}
#define SFX_ARGUMENTMAP(ShellClass) static SfxFormalArgument a##ShellClass##Args_Impl[] =
#define SFX_SLOTMAP(ShellClass) static SfxFormalArgument a##ShellClass##Args_Impl[1]; \
static SfxSlot a##ShellClass##Slots_Impl[] =
......
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