diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 14:40:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-08 08:26:28 +0200 |
commit | aca7ea6b0082fe991d8430ee42c4172eae7f7849 (patch) | |
tree | 00800cdc96b12dc51e4b1f9dc43b479be940d9c8 /include/ucbhelper | |
parent | 231e16d9091c2d318d99c2f2eb985311e7138127 (diff) |
use cppu::WeakImplHelper in InteractionRequest
Change-Id: I5f79ac795d17158c3e74aa76baf8483892cec920
Reviewed-on: https://gerrit.libreoffice.org/80404
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/ucbhelper')
-rw-r--r-- | include/ucbhelper/interactionrequest.hxx | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/include/ucbhelper/interactionrequest.hxx b/include/ucbhelper/interactionrequest.hxx index fca1a63c2cdd..137f75434093 100644 --- a/include/ucbhelper/interactionrequest.hxx +++ b/include/ucbhelper/interactionrequest.hxx @@ -29,7 +29,7 @@ #include <com/sun/star/ucb/XInteractionAuthFallback.hpp> #include <com/sun/star/ucb/XInteractionReplaceExistingData.hpp> #include <com/sun/star/ucb/XInteractionSupplyAuthentication2.hpp> -#include <cppuhelper/weak.hxx> +#include <cppuhelper/implbase.hxx> #include <ucbhelper/ucbhelperdllapi.h> #include <memory> @@ -61,9 +61,8 @@ struct InteractionRequest_Impl; * This class can also be used as base class for more specialized requests, * like authentication requests. */ -class UCBHELPER_DLLPUBLIC InteractionRequest : public cppu::OWeakObject, - public css::lang::XTypeProvider, - public css::task::XInteractionRequest +class UCBHELPER_DLLPUBLIC InteractionRequest : + public cppu::WeakImplHelper<css::task::XInteractionRequest> { std::unique_ptr<InteractionRequest_Impl> m_pImpl; @@ -89,20 +88,6 @@ public: void setContinuations( const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > & rContinuations ); - // 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< css::uno::Type > SAL_CALL - getTypes() override; - virtual css::uno::Sequence< sal_Int8 > SAL_CALL - getImplementationId() override; - // XInteractionRequest virtual css::uno::Any SAL_CALL getRequest() override; |