Kaydet (Commit) afb1fb14 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Use better casts

Change-Id: Ibcf2d715ac306bd4bedae716ad82c614f136d1bc
üst e147c578
......@@ -82,14 +82,14 @@ class SfxItemSet;
void SfxStub##aShellClass##aExecMethod( \
SfxShell *pShell, SfxRequest& rReq) \
{ \
(( aShellClass* ) pShell )->aExecMethod( rReq ); \
static_cast<aShellClass*>(pShell)->aExecMethod( rReq ); \
}
#define SFX_STATE_STUB( aShellClass, aStateMethod) \
void SfxStub##aShellClass##aStateMethod( \
SfxShell *pShell, SfxItemSet& rSet) \
{ \
(( aShellClass* ) pShell )->aStateMethod( rSet ); \
static_cast<aShellClass*>(pShell)->aStateMethod( rSet ); \
}
#define SFX_STUB_PTR( aShellClass, aMethod ) \
......
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