diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 14:38:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-08 14:23:08 +0200 |
commit | cf1b5ae4c5f7c9111a745199ac993742f9007263 (patch) | |
tree | c6d2b2795e09d7f5806d4569442d2f6cb9fa7344 /ucbhelper | |
parent | ed1f20d2f1674261c30a503c5b429ad35dabf033 (diff) |
use cppu::WeakImplHelper in CommandProcessorInfo
Change-Id: Ifbb2d50b1d88f0bceed38bddd23858a54b8527dc
Reviewed-on: https://gerrit.libreoffice.org/80403
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/provider/contentinfo.cxx | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/ucbhelper/source/provider/contentinfo.cxx b/ucbhelper/source/provider/contentinfo.cxx index 64feb16e2b74..a0a26745b758 100644 --- a/ucbhelper/source/provider/contentinfo.cxx +++ b/ucbhelper/source/provider/contentinfo.cxx @@ -191,38 +191,6 @@ CommandProcessorInfo::~CommandProcessorInfo() } -// XInterface methods. - - -void SAL_CALL CommandProcessorInfo::acquire() - throw() -{ - OWeakObject::acquire(); -} - -void SAL_CALL CommandProcessorInfo::release() - throw() -{ - OWeakObject::release(); -} - -css::uno::Any SAL_CALL CommandProcessorInfo::queryInterface( const css::uno::Type & rType ) -{ - css::uno::Any aRet = cppu::queryInterface( rType, - static_cast< lang::XTypeProvider* >(this), - static_cast< css::ucb::XCommandInfo* >(this) - ); - return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); -} - -// XTypeProvider methods. - - -XTYPEPROVIDER_IMPL_2( CommandProcessorInfo, - lang::XTypeProvider, - css::ucb::XCommandInfo ); - - // XCommandInfo methods. |