diff options
Diffstat (limited to 'toolkit/source/helper/listenermultiplexer.cxx')
-rw-r--r-- | toolkit/source/helper/listenermultiplexer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/helper/listenermultiplexer.cxx b/toolkit/source/helper/listenermultiplexer.cxx index c8dd4b19cbd1..cdcc9327e451 100644 --- a/toolkit/source/helper/listenermultiplexer.cxx +++ b/toolkit/source/helper/listenermultiplexer.cxx @@ -44,7 +44,7 @@ ListenerMultiplexerBase::~ListenerMultiplexerBase() // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any ListenerMultiplexerBase::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { - return ::cppu::queryInterface( rType, SAL_STATIC_CAST( ::com::sun::star::uno::XInterface*, this ) ); + return ::cppu::queryInterface( rType, (static_cast< ::com::sun::star::uno::XInterface* >(this)) ); } @@ -60,7 +60,7 @@ EventListenerMultiplexer::EventListenerMultiplexer( ::cppu::OWeakObject& rSource ::com::sun::star::uno::Any EventListenerMultiplexer::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 ) ); + (static_cast< ::com::sun::star::lang::XEventListener* >(this)) ); return (aRet.hasValue() ? aRet : ListenerMultiplexerBase::queryInterface( rType )); } |