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 /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 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/interactionrequest.cxx | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/ucbhelper/source/provider/interactionrequest.cxx b/ucbhelper/source/provider/interactionrequest.cxx index 277c2611ac95..0dbc568fcaa7 100644 --- a/ucbhelper/source/provider/interactionrequest.cxx +++ b/ucbhelper/source/provider/interactionrequest.cxx @@ -105,55 +105,6 @@ void InteractionRequest::setSelection( // XInterface methods. -// virtual -void SAL_CALL InteractionRequest::acquire() - throw() -{ - OWeakObject::acquire(); -} - - -// virtual -void SAL_CALL InteractionRequest::release() - throw() -{ - OWeakObject::release(); -} - - -// virtual -uno::Any SAL_CALL -InteractionRequest::queryInterface( const uno::Type & rType ) -{ - uno::Any aRet = cppu::queryInterface( rType, - static_cast< lang::XTypeProvider * >( this ), - static_cast< task::XInteractionRequest * >( this ) ); - - return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); -} - - -// XTypeProvider methods. - - -// virtual -uno::Sequence< sal_Int8 > SAL_CALL InteractionRequest::getImplementationId() -{ - return css::uno::Sequence<sal_Int8>(); -} - - -// virtual -uno::Sequence< uno::Type > SAL_CALL InteractionRequest::getTypes() -{ - static cppu::OTypeCollection s_aCollection( - cppu::UnoType<lang::XTypeProvider>::get(), - cppu::UnoType<task::XInteractionRequest>::get() ); - - return s_aCollection.getTypes(); -} - - // XInteractionRequest methods. |