summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/stdtabcontrollermodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/stdtabcontrollermodel.cxx')
-rw-r--r--toolkit/source/controls/stdtabcontrollermodel.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/controls/stdtabcontrollermodel.cxx b/toolkit/source/controls/stdtabcontrollermodel.cxx
index f706dcbfd3d1..b59f1cbfeed1 100644
--- a/toolkit/source/controls/stdtabcontrollermodel.cxx
+++ b/toolkit/source/controls/stdtabcontrollermodel.cxx
@@ -224,10 +224,10 @@ void ImplWriteControls( const ::com::sun::star::uno::Reference< ::com::sun::star
::com::sun::star::uno::Any StdTabControllerModel::queryAggregation( 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::awt::XTabControllerModel*, this ),
- SAL_STATIC_CAST( ::com::sun::star::lang::XServiceInfo*, this ),
- SAL_STATIC_CAST( ::com::sun::star::io::XPersistObject*, this ),
- SAL_STATIC_CAST( ::com::sun::star::lang::XTypeProvider*, this ) );
+ (static_cast< ::com::sun::star::awt::XTabControllerModel* >(this)),
+ (static_cast< ::com::sun::star::lang::XServiceInfo* >(this)),
+ (static_cast< ::com::sun::star::io::XPersistObject* >(this)),
+ (static_cast< ::com::sun::star::lang::XTypeProvider* >(this)) );
return (aRet.hasValue() ? aRet : OWeakAggObject::queryAggregation( rType ));
}