diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 15:14:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-08 13:59:53 +0200 |
commit | 41772463ca1ab22b213dbf1cb7449ec695b2f457 (patch) | |
tree | 618ad152f728fc2917df247a9405e39828ef974f /ucb/source/ucp/file/bc.cxx | |
parent | 8f4fdb405a8470b9d06ab14ced120da89b213e82 (diff) |
use cppu::WeakImplHelper in fileaccess::BaseContent
Change-Id: I1a677ce5c3eed773c04709808d0d019a2f59585d
Reviewed-on: https://gerrit.libreoffice.org/80425
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/file/bc.cxx')
-rw-r--r-- | ucb/source/ucp/file/bc.cxx | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index 34ce91c146f5..fe00d74c8533 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -126,43 +126,6 @@ BaseContent::~BaseContent( ) } -// XInterface - - -void SAL_CALL -BaseContent::acquire() - throw() -{ - OWeakObject::acquire(); -} - - -void SAL_CALL -BaseContent::release() - throw() -{ - OWeakObject::release(); -} - - -Any SAL_CALL -BaseContent::queryInterface( const Type& rType ) -{ - Any aRet = cppu::queryInterface( rType, - static_cast< lang::XComponent* >(this), - static_cast< lang::XTypeProvider* >(this), - static_cast< lang::XServiceInfo* >(this), - static_cast< XCommandProcessor* >(this), - static_cast< container::XChild* >(this), - static_cast< beans::XPropertiesChangeNotifier* >(this), - static_cast< beans::XPropertyContainer* >(this), - static_cast< XContentCreator* >(this), - static_cast< beans::XPropertySetInfoChangeNotifier* >(this), - static_cast< XContent* >(this) ); - return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); -} - - // XComponent @@ -241,20 +204,6 @@ BaseContent::getSupportedServiceNames() return ret; } -// XTypeProvider -XTYPEPROVIDER_IMPL_10( BaseContent, - lang::XComponent, - lang::XTypeProvider, - lang::XServiceInfo, - XCommandProcessor, - XContentCreator, - XContent, - container::XChild, - beans::XPropertiesChangeNotifier, - beans::XPropertyContainer, - beans::XPropertySetInfoChangeNotifier ) - - // XCommandProcessor |