diff options
Diffstat (limited to 'ucb/source/ucp/ftp/ftpresultsetbase.cxx')
-rw-r--r-- | ucb/source/ucp/ftp/ftpresultsetbase.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.cxx b/ucb/source/ucp/ftp/ftpresultsetbase.cxx index 641701600399..8d8d73f28fc3 100644 --- a/ucb/source/ucp/ftp/ftpresultsetbase.cxx +++ b/ucb/source/ucp/ftp/ftpresultsetbase.cxx @@ -94,12 +94,12 @@ ResultSetBase::queryInterface( { uno::Any aRet = cppu::queryInterface( rType, - SAL_STATIC_CAST( lang::XComponent*, this), - SAL_STATIC_CAST( sdbc::XRow*, this), - SAL_STATIC_CAST( sdbc::XResultSet*, this), - SAL_STATIC_CAST( sdbc::XResultSetMetaDataSupplier*, this), - SAL_STATIC_CAST( beans::XPropertySet*, this ), - SAL_STATIC_CAST( ucb::XContentAccess*, this) ); + (static_cast< lang::XComponent* >(this)), + (static_cast< sdbc::XRow* >(this)), + (static_cast< sdbc::XResultSet* >(this)), + (static_cast< sdbc::XResultSetMetaDataSupplier* >(this)), + (static_cast< beans::XPropertySet* >(this)), + (static_cast< ucb::XContentAccess* >(this)) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } @@ -468,7 +468,7 @@ public: { uno::Any aRet = cppu::queryInterface( rType, - SAL_STATIC_CAST( beans::XPropertySetInfo*, this ) ); + (static_cast< beans::XPropertySetInfo* >(this)) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } |