From c1c619f4b087cc4e26866a5f3d591bb610158d66 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 7 Oct 2019 14:36:09 +0200 Subject: use cppu::WeakImplHelper in ContentIdentifier Change-Id: Id9c0d5d1f69c516efdf45b070982bdf341e86ce8 Reviewed-on: https://gerrit.libreoffice.org/80401 Tested-by: Jenkins Reviewed-by: Noel Grandin --- ucbhelper/source/provider/contentidentifier.cxx | 52 ------------------------- 1 file changed, 52 deletions(-) (limited to 'ucbhelper') 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(); -} - - -// virtual -Sequence< css::uno::Type > SAL_CALL -ContentIdentifier::getTypes() -{ - static cppu::OTypeCollection s_aCollection( - cppu::UnoType::get(), - cppu::UnoType::get() ); - - return s_aCollection.getTypes(); -} - - // XContentIdentifier methods. -- cgit