From 5a2d6bf3a94f127307d6a9464033b2226508ff38 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Thu, 20 Aug 2015 18:40:30 +0900 Subject: linguistic: tdf#88206 replace cppu::WeakImplHelper* with the variadic variants. Change-Id: I7a4df40d680ed9e10daacd01657df9666b8cc524 Reviewed-on: https://gerrit.libreoffice.org/17868 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- include/linguistic/hyphdta.hxx | 6 +++--- include/linguistic/lngprophelp.hxx | 4 ++-- include/linguistic/misc.hxx | 4 ++-- include/linguistic/spelldta.hxx | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/linguistic/hyphdta.hxx b/include/linguistic/hyphdta.hxx index c080f47677ae..14768ca9700b 100644 --- a/include/linguistic/hyphdta.hxx +++ b/include/linguistic/hyphdta.hxx @@ -22,14 +22,14 @@ #include #include -#include +#include #include namespace linguistic { class HyphenatedWord : - public cppu::WeakImplHelper1 + public cppu::WeakImplHelper < ::com::sun::star::linguistic2::XHyphenatedWord > @@ -76,7 +76,7 @@ public: class PossibleHyphens : - public cppu::WeakImplHelper1 + public cppu::WeakImplHelper < ::com::sun::star::linguistic2::XPossibleHyphens > diff --git a/include/linguistic/lngprophelp.hxx b/include/linguistic/lngprophelp.hxx index ce618d448ac5..75780566766c 100644 --- a/include/linguistic/lngprophelp.hxx +++ b/include/linguistic/lngprophelp.hxx @@ -20,7 +20,7 @@ #ifndef INCLUDED_LINGUISTIC_LNGPROPHELP_HXX #define INCLUDED_LINGUISTIC_LNGPROPHELP_HXX -#include +#include #include #include #include @@ -49,7 +49,7 @@ namespace linguistic #define AE_SPELLCHECKER 1 #define AE_HYPHENATOR 2 -typedef cppu::WeakImplHelper2 +typedef cppu::WeakImplHelper < ::com::sun::star::beans::XPropertyChangeListener, ::com::sun::star::linguistic2::XLinguServiceEventBroadcaster diff --git a/include/linguistic/misc.hxx b/include/linguistic/misc.hxx index 56e7cb2fb6d8..04296f12a4b2 100644 --- a/include/linguistic/misc.hxx +++ b/include/linguistic/misc.hxx @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include #include @@ -178,7 +178,7 @@ LNG_DLLPUBLIC bool SaveDictionaries( const ::com::sun::star::uno::Reference< ::c // (ie the Desktop) is about to terminate class AppExitListener : - public cppu::WeakImplHelper1 + public cppu::WeakImplHelper < ::com::sun::star::frame::XTerminateListener > diff --git a/include/linguistic/spelldta.hxx b/include/linguistic/spelldta.hxx index 9bdfe8334516..02257297dc17 100644 --- a/include/linguistic/spelldta.hxx +++ b/include/linguistic/spelldta.hxx @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include @@ -61,7 +61,7 @@ void SearchSimilarText( const OUString &rText, sal_Int16 nLanguage, class SpellAlternatives - : public cppu::WeakImplHelper2 + : public cppu::WeakImplHelper < ::com::sun::star::linguistic2::XSpellAlternatives, ::com::sun::star::linguistic2::XSetSpellAlternatives -- cgit