diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-05-04 15:51:56 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-05-04 15:52:57 +0200 |
commit | 135c63c8f9cc363c0895542b0f3bed48b61ea836 (patch) | |
tree | 5afa3bcc304e246b38058c2ad7b0d1fd1e76a05f /toolkit/inc | |
parent | c48fe716225b1b784d657685396b6cf5fee4fc3d (diff) |
fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
Diffstat (limited to 'toolkit/inc')
-rw-r--r-- | toolkit/inc/toolkit/helper/macros.hxx | 4 |
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) \ |