From 770cb7825b772366ab61d4f6f7a98de30b5cd80a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 23 Nov 2021 20:43:03 +0200 Subject: [PATCH] use more OInterfaceContainerHelper3 in lingucomponent Change-Id: I4ad7c868815d7f6b8982dd192bc74b0b07a438f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125935 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx | 3 ++- lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx | 3 ++- lingucomponent/source/spellcheck/spell/sspellimp.hxx | 3 ++- lingucomponent/source/thesaurus/libnth/nthesimp.hxx | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx index 9ab7df50879b..45ebca112544 100644 --- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx +++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_LINGUCOMPONENT_SOURCE_HYPHENATOR_HYPHEN_HYPHENIMP_HXX #define INCLUDED_LINGUCOMPONENT_SOURCE_HYPHENATOR_HYPHEN_HYPHENIMP_HXX +#include #include #include #include @@ -67,7 +68,7 @@ class Hyphenator : Sequence< Locale > aSuppLocales; std::vector< HDInfo > mvDicts; - ::comphelper::OInterfaceContainerHelper2 aEvtListeners; + ::comphelper::OInterfaceContainerHelper3 aEvtListeners; std::unique_ptr pPropHelper; bool bDisposing; diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx index 0967ecaef685..776c474d21db 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_LINGUCOMPONENT_SOURCE_SPELLCHECK_MACOSXSPELL_MACSPELLIMP_HXX #define INCLUDED_LINGUCOMPONENT_SOURCE_SPELLCHECK_MACOSXSPELL_MACSPELLIMP_HXX +#include #include #include @@ -68,7 +69,7 @@ class MacSpellChecker : #else UITextChecker * pChecker; #endif - ::comphelper::OInterfaceContainerHelper2 aEvtListeners; + ::comphelper::OInterfaceContainerHelper3 aEvtListeners; rtl::Reference< linguistic::PropertyHelper_Spell > xPropHelper; bool bDisposing; diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.hxx b/lingucomponent/source/spellcheck/spell/sspellimp.hxx index 7adf0ab17b5f..c4c002b9ead1 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.hxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_LINGUCOMPONENT_SOURCE_SPELLCHECK_SPELL_SSPELLIMP_HXX #define INCLUDED_LINGUCOMPONENT_SOURCE_SPELLCHECK_SPELL_SSPELLIMP_HXX +#include #include #include #include @@ -68,7 +69,7 @@ class SpellChecker : Sequence< Locale > m_aSuppLocales; - ::comphelper::OInterfaceContainerHelper2 m_aEvtListeners; + ::comphelper::OInterfaceContainerHelper3 m_aEvtListeners; std::unique_ptr m_pPropHelper; bool m_bDisposing; diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.hxx b/lingucomponent/source/thesaurus/libnth/nthesimp.hxx index 69a67a224002..04eab06882c2 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.hxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_LINGUCOMPONENT_SOURCE_THESAURUS_LIBNTH_NTHESIMP_HXX #define INCLUDED_LINGUCOMPONENT_SOURCE_THESAURUS_LIBNTH_NTHESIMP_HXX +#include #include #include #include @@ -63,7 +64,7 @@ class Thesaurus : { Sequence< Locale > aSuppLocales; - ::comphelper::OInterfaceContainerHelper2 aEvtListeners; + ::comphelper::OInterfaceContainerHelper3 aEvtListeners; linguistic::PropertyHelper_Thesaurus* pPropHelper; bool bDisposing; struct ThesInfo