summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filstr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/filstr.cxx')
-rw-r--r--ucb/source/ucp/file/filstr.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx
index 1b3bb7f07fb4..2bec4c61bcea 100644
--- a/ucb/source/ucp/file/filstr.cxx
+++ b/ucb/source/ucp/file/filstr.cxx
@@ -53,13 +53,13 @@ XStream_impl::queryInterface(
throw( uno::RuntimeException)
{
uno::Any aRet = cppu::queryInterface( rType,
- SAL_STATIC_CAST( lang::XTypeProvider*,this ),
- SAL_STATIC_CAST( io::XStream*,this ),
- SAL_STATIC_CAST( io::XInputStream*,this ),
- SAL_STATIC_CAST( io::XOutputStream*,this ),
- SAL_STATIC_CAST( io::XSeekable*,this ),
- SAL_STATIC_CAST( io::XTruncate*,this ),
- SAL_STATIC_CAST( io::XAsyncOutputMonitor*,this ) );
+ (static_cast< lang::XTypeProvider* >(this)),
+ (static_cast< io::XStream* >(this)),
+ (static_cast< io::XInputStream* >(this)),
+ (static_cast< io::XOutputStream* >(this)),
+ (static_cast< io::XSeekable* >(this)),
+ (static_cast< io::XTruncate* >(this)),
+ (static_cast< io::XAsyncOutputMonitor* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}