summaryrefslogtreecommitdiff
path: root/toolkit/inc/toolkit/helper/macros.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/inc/toolkit/helper/macros.hxx')
-rw-r--r--toolkit/inc/toolkit/helper/macros.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/inc/toolkit/helper/macros.hxx b/toolkit/inc/toolkit/helper/macros.hxx
index 3d59e609c421..01d5705c60f5 100644
--- a/toolkit/inc/toolkit/helper/macros.hxx
+++ b/toolkit/inc/toolkit/helper/macros.hxx
@@ -160,8 +160,8 @@ ClassName::ClassName( ::cppu::OWeakObject& rSource ) \
::com::sun::star::uno::Any ClassName::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) \
{ \
::com::sun::star::uno::Any aRet = ::cppu::queryInterface( rType, \
- SAL_STATIC_CAST( ::com::sun::star::lang::XEventListener*, this ), \
- SAL_STATIC_CAST( InterfaceName*, this ) ); \
+ (static_cast< ::com::sun::star::lang::XEventListener* >(this)), \
+ (static_cast< InterfaceName* >(this)) ); \
return (aRet.hasValue() ? aRet : ListenerMultiplexerBase::queryInterface( rType )); \
} \
void ClassName::disposing( const ::com::sun::star::lang::EventObject& ) throw(::com::sun::star::uno::RuntimeException) \