summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx4
1 files changed, 2 insertions, 2 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 );
}