diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 14:37:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-08 08:25:53 +0200 |
commit | e47172ce2ac486b909ee8f46380dca8efedb6a24 (patch) | |
tree | 11b57bef32c0cff8f864c2219177601a26f773d4 /include/ucbhelper | |
parent | c1c619f4b087cc4e26866a5f3d591bb610158d66 (diff) |
use cppu::WeakImplHelper in PropertySetInfo
Change-Id: I4da5d73ee7b531927066a1a4d4d7561ef9648483
Reviewed-on: https://gerrit.libreoffice.org/80402
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/ucbhelper')
-rw-r--r-- | include/ucbhelper/contentinfo.hxx | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/include/ucbhelper/contentinfo.hxx b/include/ucbhelper/contentinfo.hxx index b6d2bad87e65..f3f455af98ff 100644 --- a/include/ucbhelper/contentinfo.hxx +++ b/include/ucbhelper/contentinfo.hxx @@ -24,7 +24,7 @@ #include <com/sun/star/ucb/XCommandInfo.hpp> #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> -#include <cppuhelper/weak.hxx> +#include <cppuhelper/implbase.hxx> #include <osl/mutex.hxx> @@ -45,9 +45,7 @@ class ContentImplHelper; * Core Properties that may have been added to the content. */ class PropertySetInfo : - public cppu::OWeakObject, - public css::lang::XTypeProvider, - public css::beans::XPropertySetInfo + public cppu::WeakImplHelper<css::beans::XPropertySetInfo> { css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv; @@ -65,19 +63,6 @@ public: ContentImplHelper* pContent ); virtual ~PropertySetInfo() 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; - // XPropertySetInfo virtual css::uno::Sequence< css::beans::Property > SAL_CALL |