summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/msg.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx
index 120005e7ba22..46963b2ff43d 100644
--- a/include/sfx2/msg.hxx
+++ b/include/sfx2/msg.hxx
@@ -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 ) \