diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 14:36:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-08 08:25:43 +0200 |
commit | c1c619f4b087cc4e26866a5f3d591bb610158d66 (patch) | |
tree | 31877ca5e76fdd13e67e879633cc034c9250d78b /ucbhelper | |
parent | d3883e67bfe9f2889690b435bc57273c22e327f7 (diff) |
use cppu::WeakImplHelper in ContentIdentifier
Change-Id: Id9c0d5d1f69c516efdf45b070982bdf341e86ce8
Reviewed-on: https://gerrit.libreoffice.org/80401
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/contentidentifier.cxx | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/ucbhelper/source/provider/contentidentifier.cxx b/ucbhelper/source/provider/contentidentifier.cxx index 681890d0a475..6f14d953b766 100644 --- a/ucbhelper/source/provider/contentidentifier.cxx +++ b/ucbhelper/source/provider/contentidentifier.cxx @@ -82,58 +82,6 @@ ContentIdentifier::~ContentIdentifier() } -// XInterface methods. - - -// virtual -void SAL_CALL ContentIdentifier::acquire() throw() -{ - OWeakObject::acquire(); -} - - -// virtual -void SAL_CALL ContentIdentifier::release() throw() -{ - OWeakObject::release(); -} - - -// virtual -Any SAL_CALL -ContentIdentifier::queryInterface( const Type & rType ) -{ - Any aRet = cppu::queryInterface( rType, - static_cast< XTypeProvider * >( this ), - static_cast< XContentIdentifier * >( this ) ); - - return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); -} - - -// XTypeProvider methods. - - -// virtual -Sequence< sal_Int8 > SAL_CALL -ContentIdentifier::getImplementationId() -{ - return css::uno::Sequence<sal_Int8>(); -} - - -// virtual -Sequence< css::uno::Type > SAL_CALL -ContentIdentifier::getTypes() -{ - static cppu::OTypeCollection s_aCollection( - cppu::UnoType<XTypeProvider>::get(), - cppu::UnoType<XContentIdentifier>::get() ); - - return s_aCollection.getTypes(); -} - - // XContentIdentifier methods. |