diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 14:48:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-08 14:08:36 +0200 |
commit | 7426fd34b3979ce546f749dba15f58e299b62eac (patch) | |
tree | 15b536f4c5231aa1b36f39d9869942356430ed5d /ucbhelper | |
parent | 41772463ca1ab22b213dbf1cb7449ec695b2f457 (diff) |
use cppu::WeakImplHelper in ResultSet
Change-Id: I9d6feef38532b0057e16fc3f25b0f285d3dfcb99
Reviewed-on: https://gerrit.libreoffice.org/80407
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/resultset.cxx | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx index 64991e0a4c7c..133b66a1da56 100644 --- a/ucbhelper/source/provider/resultset.cxx +++ b/ucbhelper/source/provider/resultset.cxx @@ -208,51 +208,6 @@ ResultSet::~ResultSet() } -// XInterface methods. - -void SAL_CALL ResultSet::acquire() - throw() -{ - OWeakObject::acquire(); -} - -void SAL_CALL ResultSet::release() - throw() -{ - OWeakObject::release(); -} - -css::uno::Any SAL_CALL ResultSet::queryInterface( const css::uno::Type & rType ) -{ - css::uno::Any aRet = cppu::queryInterface( rType, - static_cast< lang::XTypeProvider* >(this), - static_cast< lang::XServiceInfo* >(this), - static_cast< lang::XComponent* >(this), - static_cast< css::ucb::XContentAccess* >(this), - static_cast< sdbc::XResultSet* >(this), - static_cast< sdbc::XResultSetMetaDataSupplier* >(this), - static_cast< sdbc::XRow* >(this), - static_cast< sdbc::XCloseable* >(this), - static_cast< beans::XPropertySet* >(this) - ); - return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); -} - -// XTypeProvider methods. - - -XTYPEPROVIDER_IMPL_9( ResultSet, - lang::XTypeProvider, - lang::XServiceInfo, - lang::XComponent, - css::ucb::XContentAccess, - sdbc::XResultSet, - sdbc::XResultSetMetaDataSupplier, - sdbc::XRow, - sdbc::XCloseable, - beans::XPropertySet ); - - // XServiceInfo methods. OUString SAL_CALL ResultSet::getImplementationName() |