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>
This commit is contained in:
Noel Grandin
2021-11-27 14:12:00 +01:00
committed by Noel Grandin
parent 1fcd79fb08
commit 770cb7825b
4 changed files with 8 additions and 4 deletions
@@ -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;
@@ -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;
@@ -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;
@@ -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