From e646e614e26d647c6b7ce6918b8dddad71568f96 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Thu, 30 Jul 2015 16:41:22 +0900 Subject: tdf#88206 replace cppu::WeakImplHelper* etc. with the variadic variants for editeng. Change-Id: I28373dd31b8b922f59b99bf1c12faa31c72b9906 Reviewed-on: https://gerrit.libreoffice.org/17416 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/accessibility/AccessibleContextBase.cxx | 4 ++-- editeng/source/accessibility/AccessibleHyperlink.hxx | 4 ++-- editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx | 4 ++-- editeng/source/misc/unolingu.cxx | 10 +++++----- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'editeng') diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx index 3217f0d8e307..24d669872ee7 100644 --- a/editeng/source/accessibility/AccessibleContextBase.cxx +++ b/editeng/source/accessibility/AccessibleContextBase.cxx @@ -45,7 +45,7 @@ namespace accessibility { AccessibleContextBase::AccessibleContextBase ( const uno::Reference& rxParent, const sal_Int16 aRole) - : WeakComponentImplHelper4 (MutexOwner::maMutex), + : WeakComponentImplHelper(MutexOwner::maMutex), mxStateSet (NULL), mxRelationSet (NULL), mxParent(rxParent), @@ -488,7 +488,7 @@ uno::Sequence< ::com::sun::star::uno::Type> // This class supports no interfaces on its own. Just return those // supported by the base class. - return WeakComponentImplHelper4::getTypes(); + return WeakComponentImplHelper::getTypes(); } uno::Sequence SAL_CALL diff --git a/editeng/source/accessibility/AccessibleHyperlink.hxx b/editeng/source/accessibility/AccessibleHyperlink.hxx index fe0ef70e91e4..507f53210a45 100644 --- a/editeng/source/accessibility/AccessibleHyperlink.hxx +++ b/editeng/source/accessibility/AccessibleHyperlink.hxx @@ -21,7 +21,7 @@ #define INCLUDED_EDITENG_SOURCE_ACCESSIBILITY_ACCESSIBLEHYPERLINK_HXX #include -#include +#include #include #include @@ -35,7 +35,7 @@ class SvxAccessibleTextAdapter; namespace accessibility { - class AccessibleHyperlink : public ::cppu::WeakImplHelper1< ::com::sun::star::accessibility::XAccessibleHyperlink > + class AccessibleHyperlink : public ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessibleHyperlink > { private: diff --git a/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx b/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx index eaf15d64339d..95c626d5ef3f 100644 --- a/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx +++ b/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include #include @@ -31,7 +31,7 @@ enum SvXMLAutoCorrectToken : sal_Int32 }; class SvXMLAutoCorrectTokenHandler : public - cppu::WeakImplHelper1< css::xml::sax::XFastTokenHandler >, + cppu::WeakImplHelper< css::xml::sax::XFastTokenHandler >, public sax_fastparser::FastTokenHandlerBase { public: diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index c85eda2586df..a90090fee639 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -37,7 +37,7 @@ #include #include -#include +#include #include #include #include @@ -72,7 +72,7 @@ static uno::Reference< XLinguServiceManager2 > GetLngSvcMgr_Impl() //! The dummy accesses the real implementation (and thus loading the DLL) //! when "real" work needs to be done only. class ThesDummy_Impl : - public cppu::WeakImplHelper1< XThesaurus > + public cppu::WeakImplHelper< XThesaurus > { uno::Reference< XThesaurus > xThes; // the real one... Sequence< lang::Locale > *pLocaleSeq; @@ -204,7 +204,7 @@ uno::Sequence< uno::Reference< linguistic2::XMeaning > > SAL_CALL //! The dummy accesses the real implementation (and thus loading the DLL) //! when it needs to be done only. class SpellDummy_Impl : - public cppu::WeakImplHelper1< XSpellChecker1 > + public cppu::WeakImplHelper< XSpellChecker1 > { uno::Reference< XSpellChecker1 > xSpell; // the real one... @@ -301,7 +301,7 @@ uno::Reference< linguistic2::XSpellAlternatives > SAL_CALL //! The dummy accesses the real implementation (and thus loading the DLL) //! when it needs to be done only. class HyphDummy_Impl : - public cppu::WeakImplHelper1< XHyphenator > + public cppu::WeakImplHelper< XHyphenator > { uno::Reference< XHyphenator > xHyph; // the real one... @@ -429,7 +429,7 @@ uno::Reference< linguistic2::XPossibleHyphens > SAL_CALL return xRes; } -class LinguMgrExitLstnr : public cppu::WeakImplHelper1 +class LinguMgrExitLstnr : public cppu::WeakImplHelper { uno::Reference< XDesktop2 > xDesktop; -- cgit