diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 14:45:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-08 08:26:57 +0200 |
commit | 469e577852fd41655169cbb05fc610bd36a1e51a (patch) | |
tree | 90556f5440f29787fb7a201c2eb84114172985ed /ucbhelper | |
parent | 850abad67bc05f823bc3975367b33ec67449b5c5 (diff) |
use cppu::WeakImplHelper in ContentProviderImplHelper
Change-Id: I1b2c4a296de6d1d6769f9e82380d1b45d506daca
Reviewed-on: https://gerrit.libreoffice.org/80406
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/providerhelper.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/ucbhelper/source/provider/providerhelper.cxx b/ucbhelper/source/provider/providerhelper.cxx index ff15d082e042..a2c2f21bdcc4 100644 --- a/ucbhelper/source/provider/providerhelper.cxx +++ b/ucbhelper/source/provider/providerhelper.cxx @@ -73,34 +73,6 @@ ContentProviderImplHelper::~ContentProviderImplHelper() { } -// XInterface -void SAL_CALL ContentProviderImplHelper::acquire() - throw() -{ - OWeakObject::acquire(); -} - -void SAL_CALL ContentProviderImplHelper::release() - throw() -{ - OWeakObject::release(); -} - -css::uno::Any SAL_CALL ContentProviderImplHelper::queryInterface( const css::uno::Type & rType ) -{ - css::uno::Any aRet = cppu::queryInterface( rType, - static_cast< lang::XTypeProvider* >(this), - static_cast< lang::XServiceInfo* >(this), - static_cast< css::ucb::XContentProvider* >(this) - ); - return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); -} - -XTYPEPROVIDER_IMPL_3( ContentProviderImplHelper, - lang::XTypeProvider, - lang::XServiceInfo, - css::ucb::XContentProvider ); - // virtual sal_Bool SAL_CALL ContentProviderImplHelper::supportsService( const OUString& ServiceName ) |