summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/prov.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/prov.cxx')
-rw-r--r--ucb/source/ucp/file/prov.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx
index bd9889e8063e..ae819bdde75e 100644
--- a/ucb/source/ucp/file/prov.cxx
+++ b/ucb/source/ucp/file/prov.cxx
@@ -132,13 +132,13 @@ FileProvider::queryInterface(
{
Any aRet = cppu::queryInterface(
rType,
- SAL_STATIC_CAST( XContentProvider*, this ),
- SAL_STATIC_CAST( XInitialization*, this ),
- SAL_STATIC_CAST( XContentIdentifierFactory*, this ),
- SAL_STATIC_CAST( XServiceInfo*, this ),
- SAL_STATIC_CAST( XTypeProvider*, this ),
- SAL_STATIC_CAST( XFileIdentifierConverter*,this ),
- SAL_STATIC_CAST( XPropertySet*, this ) );
+ (static_cast< XContentProvider* >(this)),
+ (static_cast< XInitialization* >(this)),
+ (static_cast< XContentIdentifierFactory* >(this)),
+ (static_cast< XServiceInfo* >(this)),
+ (static_cast< XTypeProvider* >(this)),
+ (static_cast< XFileIdentifierConverter* >(this)),
+ (static_cast< XPropertySet* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
@@ -452,7 +452,7 @@ XPropertySetInfoImpl2::queryInterface(
throw( RuntimeException )
{
Any aRet = cppu::queryInterface( rType,
- SAL_STATIC_CAST( XPropertySetInfo*,this) );
+ (static_cast< XPropertySetInfo* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}