summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpintreq.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-05-04 15:51:56 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-05-04 15:52:57 +0200
commit135c63c8f9cc363c0895542b0f3bed48b61ea836 (patch)
tree5afa3bcc304e246b38058c2ad7b0d1fd1e76a05f /ucb/source/ucp/ftp/ftpintreq.cxx
parentc48fe716225b1b784d657685396b6cf5fee4fc3d (diff)
fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
Diffstat (limited to 'ucb/source/ucp/ftp/ftpintreq.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpintreq.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/ftp/ftpintreq.cxx b/ucb/source/ucp/ftp/ftpintreq.cxx
index 47da4e36dbd8..45a6dde67945 100644
--- a/ucb/source/ucp/ftp/ftpintreq.cxx
+++ b/ucb/source/ucp/ftp/ftpintreq.cxx
@@ -69,8 +69,8 @@ XInteractionApproveImpl::queryInterface( const Type& rType )
{
Any aRet = cppu::queryInterface(
rType,
- SAL_STATIC_CAST( lang::XTypeProvider*, this ),
- SAL_STATIC_CAST( XInteractionApprove*,this) );
+ (static_cast< lang::XTypeProvider* >(this)),
+ (static_cast< XInteractionApprove* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -128,8 +128,8 @@ XInteractionDisapproveImpl::queryInterface( const Type& rType )
{
Any aRet = cppu::queryInterface(
rType,
- SAL_STATIC_CAST( lang::XTypeProvider*, this ),
- SAL_STATIC_CAST( XInteractionDisapprove*,this) );
+ (static_cast< lang::XTypeProvider* >(this)),
+ (static_cast< XInteractionDisapprove* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -188,8 +188,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 );
}