summaryrefslogtreecommitdiff
path: root/xmlhelp/source/treeview/tvread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/treeview/tvread.cxx')
-rw-r--r--xmlhelp/source/treeview/tvread.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx
index 46736516fdf4..af4be054b32e 100644
--- a/xmlhelp/source/treeview/tvread.cxx
+++ b/xmlhelp/source/treeview/tvread.cxx
@@ -268,11 +268,11 @@ TVBase::queryInterface(
throw( RuntimeException )
{
Any aRet = cppu::queryInterface( rType,
- SAL_STATIC_CAST( XTypeProvider*, this ),
- SAL_STATIC_CAST( XNameAccess*, this ),
- SAL_STATIC_CAST( XHierarchicalNameAccess*, this ),
- SAL_STATIC_CAST( XChangesNotifier*, this ),
- SAL_STATIC_CAST( XComponent*, this ) );
+ (static_cast< XTypeProvider* >(this)),
+ (static_cast< XNameAccess* >(this)),
+ (static_cast< XHierarchicalNameAccess* >(this)),
+ (static_cast< XChangesNotifier* >(this)),
+ (static_cast< XComponent* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}