summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-11-23 20:43:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-27 14:12:00 +0100
commit770cb7825b772366ab61d4f6f7a98de30b5cd80a (patch)
treee7ea7c3ca121c0a43c28a62a93ad88c61ebff2fb /lingucomponent
parent1fcd79fb083a2db9cb56f09e0c7407f437177b0c (diff)
use more OInterfaceContainerHelper3 in lingucomponent
Change-Id: I4ad7c868815d7f6b8982dd192bc74b0b07a438f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125935 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx3
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx3
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.hxx3
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.hxx3
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 <comphelper/interfacecontainer3.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -67,7 +68,7 @@ class Hyphenator :
Sequence< Locale > aSuppLocales;
std::vector< HDInfo > mvDicts;
- ::comphelper::OInterfaceContainerHelper2 aEvtListeners;
+ ::comphelper::OInterfaceContainerHelper3<XEventListener> aEvtListeners;
std::unique_ptr<linguistic::PropertyHelper_Hyphenation> 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 <comphelper/interfacecontainer3.hxx>
#include <cppuhelper/implbase.hxx>
#include <premac.h>
@@ -68,7 +69,7 @@ class MacSpellChecker :
#else
UITextChecker * pChecker;
#endif
- ::comphelper::OInterfaceContainerHelper2 aEvtListeners;
+ ::comphelper::OInterfaceContainerHelper3<XEventListener> 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 <comphelper/interfacecontainer3.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -68,7 +69,7 @@ class SpellChecker :
Sequence< Locale > m_aSuppLocales;
- ::comphelper::OInterfaceContainerHelper2 m_aEvtListeners;
+ ::comphelper::OInterfaceContainerHelper3<XEventListener> m_aEvtListeners;
std::unique_ptr<linguistic::PropertyHelper_Spelling> 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 <comphelper/interfacecontainer3.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/Sequence.h>
@@ -63,7 +64,7 @@ class Thesaurus :
{
Sequence< Locale > aSuppLocales;
- ::comphelper::OInterfaceContainerHelper2 aEvtListeners;
+ ::comphelper::OInterfaceContainerHelper3<XEventListener> aEvtListeners;
linguistic::PropertyHelper_Thesaurus* pPropHelper;
bool bDisposing;
struct ThesInfo