basic/source/inc/namecont.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit d7cd65577d9b5209e4bd2334e2d63f12c4831143 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Mon Nov 22 18:52:40 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sat Nov 27 08:09:11 2021 +0100 use more OInterfaceContainerHelper3 in ModifiableHelper Change-Id: I8d959e365f995d48a6105fac3ed0f84c7cc1d86b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125920 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> 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 <cppuhelper/component.hxx> #include <cppuhelper/basemutex.hxx> #include <rtl/ref.hxx> +#include <comphelper/interfacecontainer3.hxx> #include <comphelper/listenernotification.hxx> #include <xmlscript/xmllib_imexp.hxx> #include <comphelper/interfacecontainer3.hxx> @@ -130,7 +131,7 @@ public: class ModifiableHelper { private: - ::comphelper::OInterfaceContainerHelper2 m_aModifyListeners; + ::comphelper::OInterfaceContainerHelper3<css::util::XModifyListener> 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 ) {