From d7cd65577d9b5209e4bd2334e2d63f12c4831143 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 Nov 2021 18:52:40 +0200 Subject: use more OInterfaceContainerHelper3 in ModifiableHelper Change-Id: I8d959e365f995d48a6105fac3ed0f84c7cc1d86b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125920 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/inc/namecont.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx index 9a8bfa12f257..6a3b020d00a4 100644 --- a/basic/source/inc/namecont.hxx +++ b/basic/source/inc/namecont.hxx @@ -49,6 +49,7 @@ #include #include #include +#include #include #include #include @@ -130,7 +131,7 @@ public: class ModifiableHelper { private: - ::comphelper::OInterfaceContainerHelper2 m_aModifyListeners; + ::comphelper::OInterfaceContainerHelper3 m_aModifyListeners; ::cppu::OWeakObject& m_rEventSource; bool mbModified; @@ -143,7 +144,7 @@ public: } bool isModified() const { return mbModified; } - void setModified( bool _bModified ); + void setModified( bool _bModified ); void addModifyListener( const css::uno::Reference< css::util::XModifyListener >& _rxListener ) { -- cgit