summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/stdtabcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/stdtabcontroller.cxx')
-rw-r--r--toolkit/source/controls/stdtabcontroller.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/controls/stdtabcontroller.cxx b/toolkit/source/controls/stdtabcontroller.cxx
index 22c1f328a0a3..72c28a0fd650 100644
--- a/toolkit/source/controls/stdtabcontroller.cxx
+++ b/toolkit/source/controls/stdtabcontroller.cxx
@@ -170,9 +170,9 @@ void StdTabController::ImplActivateControl( sal_Bool bFirst ) const
Any StdTabController::queryAggregation( const Type & rType ) throw(RuntimeException)
{
Any aRet = ::cppu::queryInterface( rType,
- SAL_STATIC_CAST( XTabController*, this ),
- SAL_STATIC_CAST( XServiceInfo*, this ),
- SAL_STATIC_CAST( XTypeProvider*, this ) );
+ (static_cast< XTabController* >(this)),
+ (static_cast< XServiceInfo* >(this)),
+ (static_cast< XTypeProvider* >(this)) );
return (aRet.hasValue() ? aRet : OWeakAggObject::queryAggregation( rType ));
}