diff options
Diffstat (limited to 'xmlhelp/source/treeview')
-rw-r--r-- | xmlhelp/source/treeview/tvfactory.cxx | 6 | ||||
-rw-r--r-- | xmlhelp/source/treeview/tvread.cxx | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/xmlhelp/source/treeview/tvfactory.cxx b/xmlhelp/source/treeview/tvfactory.cxx index 6f8ca210c424..ffebbd1434c5 100644 --- a/xmlhelp/source/treeview/tvfactory.cxx +++ b/xmlhelp/source/treeview/tvfactory.cxx @@ -82,9 +82,9 @@ TVFactory::queryInterface( throw( RuntimeException ) { Any aRet = cppu::queryInterface( rType, - SAL_STATIC_CAST( XServiceInfo*, this ), - SAL_STATIC_CAST( XTypeProvider*, this ), - SAL_STATIC_CAST( XMultiServiceFactory*, this ) ); + (static_cast< XServiceInfo* >(this)), + (static_cast< XTypeProvider* >(this)), + (static_cast< XMultiServiceFactory* >(this)) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } 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 ); } |