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 --- linguistic/workben/sprophelp.hxx | 4 ++-- linguistic/workben/sspellimp.hxx | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'linguistic/workben') diff --git a/linguistic/workben/sprophelp.hxx b/linguistic/workben/sprophelp.hxx index 939ea6b0817f..d2dc229ba9e1 100644 --- a/linguistic/workben/sprophelp.hxx +++ b/linguistic/workben/sprophelp.hxx @@ -20,7 +20,7 @@ #ifndef INCLUDED_LINGUISTIC_WORKBEN_SPROPHELP_HXX #define INCLUDED_LINGUISTIC_WORKBEN_SPROPHELP_HXX -#include +#include #include #include #include @@ -46,7 +46,7 @@ using namespace ::com::sun::star::linguistic2; // Only propertyChange needs to be implemented. class PropertyChgHelper : - public cppu::WeakImplHelper2 + public cppu::WeakImplHelper < XPropertyChangeListener, XLinguServiceEventBroadcaster diff --git a/linguistic/workben/sspellimp.hxx b/linguistic/workben/sspellimp.hxx index 58b0afe138e0..cb9232a9ad0a 100644 --- a/linguistic/workben/sspellimp.hxx +++ b/linguistic/workben/sspellimp.hxx @@ -20,8 +20,7 @@ #ifndef INCLUDED_LINGUISTIC_WORKBEN_SSPELLIMP_HXX #define INCLUDED_LINGUISTIC_WORKBEN_SSPELLIMP_HXX -#include -#include +#include #include #include #include @@ -43,7 +42,7 @@ using namespace ::com::sun::star::linguistic2; class SpellChecker : - public cppu::WeakImplHelper6 + public cppu::WeakImplHelper < XSpellChecker, XLinguServiceEventBroadcaster, -- cgit v1.2.3