summaryrefslogtreecommitdiff
path: root/framework/source/fwe/helper/propertysetcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwe/helper/propertysetcontainer.cxx')
-rw-r--r--framework/source/fwe/helper/propertysetcontainer.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/fwe/helper/propertysetcontainer.cxx b/framework/source/fwe/helper/propertysetcontainer.cxx
index 86872b2310cb..b61e2a545a8e 100644
--- a/framework/source/fwe/helper/propertysetcontainer.cxx
+++ b/framework/source/fwe/helper/propertysetcontainer.cxx
@@ -72,10 +72,10 @@ throw ( RuntimeException )
{
Any a = ::cppu::queryInterface(
rType ,
- SAL_STATIC_CAST( XIndexContainer*, this ),
- SAL_STATIC_CAST( XIndexReplace*, this ),
- SAL_STATIC_CAST( XIndexAccess*, this ),
- SAL_STATIC_CAST( XElementAccess*, this ) );
+ (static_cast< XIndexContainer* >(this)),
+ (static_cast< XIndexReplace* >(this)),
+ (static_cast< XIndexAccess* >(this)),
+ (static_cast< XElementAccess* >(this)) );
if( a.hasValue() )
{