summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filinsreq.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/filinsreq.cxx')
-rw-r--r--ucb/source/ucp/file/filinsreq.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/file/filinsreq.cxx b/ucb/source/ucp/file/filinsreq.cxx
index 0ab0aeab6aed..ea674c1cc692 100644
--- a/ucb/source/ucp/file/filinsreq.cxx
+++ b/ucb/source/ucp/file/filinsreq.cxx
@@ -70,8 +70,8 @@ XInteractionSupplyNameImpl::queryInterface( const Type& rType )
throw( RuntimeException )
{
Any aRet = cppu::queryInterface( rType,
- SAL_STATIC_CAST( lang::XTypeProvider*, this ),
- SAL_STATIC_CAST( XInteractionSupplyName*,this) );
+ (static_cast< lang::XTypeProvider* >(this)),
+ (static_cast< XInteractionSupplyName* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -109,8 +109,8 @@ XInteractionAbortImpl::queryInterface( const Type& rType )
throw( RuntimeException )
{
Any aRet = cppu::queryInterface( rType,
- SAL_STATIC_CAST( lang::XTypeProvider*, this ),
- SAL_STATIC_CAST( XInteractionAbort*,this) );
+ (static_cast< lang::XTypeProvider* >(this)),
+ (static_cast< XInteractionAbort* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -169,8 +169,8 @@ XInteractionRequestImpl::queryInterface( const Type& rType )
Any aRet =
cppu::queryInterface(
rType,
- SAL_STATIC_CAST( lang::XTypeProvider*, this ),
- SAL_STATIC_CAST( XInteractionRequest*,this) );
+ (static_cast< lang::XTypeProvider* >(this)),
+ (static_cast< XInteractionRequest* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}