diff options
Diffstat (limited to 'xmlhelp/source/cxxhelp')
4 files changed, 13 insertions, 13 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx index 15a5c0388b21..4384a2cfedca 100644 --- a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx +++ b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx @@ -105,8 +105,8 @@ BufferedInputStream::~BufferedInputStream() Any SAL_CALL BufferedInputStream::queryInterface( const Type& rType ) throw( RuntimeException ) { Any aRet = ::cppu::queryInterface( rType, - SAL_STATIC_CAST( XInputStream*,this ), - SAL_STATIC_CAST( XSeekable*,this ) ); + (static_cast< XInputStream* >(this)), + (static_cast< XSeekable* >(this)) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.cxx b/xmlhelp/source/cxxhelp/provider/inputstream.cxx index 58ae720b7d11..e48529505585 100644 --- a/xmlhelp/source/cxxhelp/provider/inputstream.cxx +++ b/xmlhelp/source/cxxhelp/provider/inputstream.cxx @@ -62,8 +62,8 @@ XInputStream_impl::queryInterface( throw( uno::RuntimeException) { uno::Any aRet = cppu::queryInterface( rType, - SAL_STATIC_CAST( io::XInputStream*,this ), - SAL_STATIC_CAST( io::XSeekable*,this ) ); + (static_cast< io::XInputStream* >(this)), + (static_cast< io::XSeekable* >(this)) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx index 7a7f93555a7d..d209bb63d5f3 100644 --- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx +++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx @@ -93,12 +93,12 @@ ResultSetBase::queryInterface( throw( uno::RuntimeException ) { uno::Any aRet = cppu::queryInterface( rType, - SAL_STATIC_CAST( lang::XComponent*, this), - SAL_STATIC_CAST( sdbc::XRow*, this), - SAL_STATIC_CAST( sdbc::XResultSet*, this), - SAL_STATIC_CAST( sdbc::XResultSetMetaDataSupplier*, this), - SAL_STATIC_CAST( beans::XPropertySet*, this ), - SAL_STATIC_CAST( ucb::XContentAccess*, this) ); + (static_cast< lang::XComponent* >(this)), + (static_cast< sdbc::XRow* >(this)), + (static_cast< sdbc::XResultSet* >(this)), + (static_cast< sdbc::XResultSetMetaDataSupplier* >(this)), + (static_cast< beans::XPropertySet* >(this)), + (static_cast< ucb::XContentAccess* >(this)) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } @@ -461,7 +461,7 @@ public: throw( uno::RuntimeException ) { uno::Any aRet = cppu::queryInterface( rType, - SAL_STATIC_CAST( beans::XPropertySetInfo*, this ) ); + (static_cast< beans::XPropertySetInfo* >(this)) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx index a7187e71b098..29bdc809e4a2 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx @@ -1082,8 +1082,8 @@ InputStreamTransformer::~InputStreamTransformer() Any SAL_CALL InputStreamTransformer::queryInterface( const Type& rType ) throw( RuntimeException ) { Any aRet = ::cppu::queryInterface( rType, - SAL_STATIC_CAST( XInputStream*,this ), - SAL_STATIC_CAST( XSeekable*,this ) ); + (static_cast< XInputStream* >(this)), + (static_cast< XSeekable* >(this)) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } |