diff options
Diffstat (limited to 'svtools/source/uno/contextmenuhelper.cxx')
-rw-r--r-- | svtools/source/uno/contextmenuhelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/contextmenuhelper.cxx b/svtools/source/uno/contextmenuhelper.cxx index 22d361a17a1e..6d8578e7952c 100644 --- a/svtools/source/uno/contextmenuhelper.cxx +++ b/svtools/source/uno/contextmenuhelper.cxx @@ -113,7 +113,7 @@ throw ( uno::RuntimeException ) { uno::Any a = ::cppu::queryInterface( aType, - SAL_STATIC_CAST( XStatusListener*, this )); + (static_cast< XStatusListener* >(this))); if( a.hasValue() ) return a; @@ -156,7 +156,7 @@ bool StateEventHelper::isCommandEnabled() { // Be sure that we cannot die during condition wait uno::Reference< frame::XStatusListener > xSelf( - SAL_STATIC_CAST( frame::XStatusListener*, this )); + (static_cast< frame::XStatusListener* >(this))); uno::Reference< frame::XDispatch > xDispatch; util::URL aTargetURL; |