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 /include/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 'include/ucbhelper')
-rw-r--r-- | include/ucbhelper/resultset.hxx | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/include/ucbhelper/resultset.hxx b/include/ucbhelper/resultset.hxx index 7dcdce8cb8d4..2c5e99bdc2a9 100644 --- a/include/ucbhelper/resultset.hxx +++ b/include/ucbhelper/resultset.hxx @@ -32,7 +32,7 @@ #include <rtl/ref.hxx> #include <salhelper/simplereferenceobject.hxx> -#include <cppuhelper/weak.hxx> +#include <cppuhelper/implbase.hxx> #include <ucbhelper/ucbhelperdllapi.h> #include <memory> @@ -58,16 +58,15 @@ struct ResultSet_Impl; * @see ResultSetDataSupplier */ class UCBHELPER_DLLPUBLIC ResultSet : - public cppu::OWeakObject, - public css::lang::XTypeProvider, - public css::lang::XServiceInfo, - public css::lang::XComponent, - public css::ucb::XContentAccess, - public css::sdbc::XResultSet, - public css::sdbc::XResultSetMetaDataSupplier, - public css::sdbc::XRow, - public css::sdbc::XCloseable, - public css::beans::XPropertySet + public cppu::WeakImplHelper< + css::lang::XServiceInfo, + css::lang::XComponent, + css::ucb::XContentAccess, + css::sdbc::XResultSet, + css::sdbc::XResultSetMetaDataSupplier, + css::sdbc::XRow, + css::sdbc::XCloseable, + css::beans::XPropertySet> { std::unique_ptr<ResultSet_Impl> m_pImpl; @@ -101,19 +100,6 @@ public: const css::uno::Reference< css::ucb::XCommandEnvironment >& rxEnv ); virtual ~ResultSet() override; - // XInterface - virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; - virtual void SAL_CALL acquire() - throw() override; - virtual void SAL_CALL release() - throw() override; - - // XTypeProvider - virtual css::uno::Sequence< sal_Int8 > SAL_CALL - getImplementationId() override; - virtual css::uno::Sequence< css::uno::Type > SAL_CALL - getTypes() override; - // XServiceInfo virtual OUString SAL_CALL getImplementationName() override; virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; |