diff options
Diffstat (limited to 'ucb/source/ucp/file/filinpstr.cxx')
-rw-r--r-- | ucb/source/ucp/file/filinpstr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/file/filinpstr.cxx b/ucb/source/ucp/file/filinpstr.cxx index 1a2fc293bdb7..289450b523b3 100644 --- a/ucb/source/ucp/file/filinpstr.cxx +++ b/ucb/source/ucp/file/filinpstr.cxx @@ -112,9 +112,9 @@ XInputStream_impl::queryInterface( throw( uno::RuntimeException) { uno::Any aRet = cppu::queryInterface( rType, - SAL_STATIC_CAST( io::XInputStream*,this ), - SAL_STATIC_CAST( lang::XTypeProvider*,this ), - SAL_STATIC_CAST( io::XSeekable*,this ) ); + (static_cast< io::XInputStream* >(this)), + (static_cast< lang::XTypeProvider* >(this)), + (static_cast< io::XSeekable* >(this)) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } |