include/svx/shapepropertynotifier.hxx | 4 ++-- svx/source/unodraw/shapepropertynotifier.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit 79824cea8add8dfd69a284800f5b365fc20bece9 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Wed Dec 1 21:43:52 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sat Dec 4 12:34:12 2021 +0100 use OMultiTypeInterfaceContainerHelperVar3 in PropertyChangeNotifier Change-Id: I861bb71702a56997ce5b28bca7750dba6a11f9c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126342 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/include/svx/shapepropertynotifier.hxx b/include/svx/shapepropertynotifier.hxx index 8e994e15d21d..b26525c63f7b 100644 --- a/include/svx/shapepropertynotifier.hxx +++ b/include/svx/shapepropertynotifier.hxx @@ -22,7 +22,7 @@ #include <svx/svxdllapi.h> #include <svx/shapeproperty.hxx> -#include <comphelper/multiinterfacecontainer2.hxx> +#include <comphelper/multiinterfacecontainer3.hxx> #include <rtl/ustring.hxx> #include <memory> @@ -141,7 +141,7 @@ namespace svx PropertyProviders; ::cppu::OWeakObject& m_rContext; PropertyProviders m_aProviders; - comphelper::OMultiTypeInterfaceContainerHelperVar2<OUString> m_aPropertyChangeListeners; + comphelper::OMultiTypeInterfaceContainerHelperVar3<css::beans::XPropertyChangeListener, OUString> m_aPropertyChangeListeners; }; diff --git a/svx/source/unodraw/shapepropertynotifier.cxx b/svx/source/unodraw/shapepropertynotifier.cxx index 29ad15f2358f..9151190c0cda 100644 --- a/svx/source/unodraw/shapepropertynotifier.cxx +++ b/svx/source/unodraw/shapepropertynotifier.cxx @@ -95,8 +95,8 @@ namespace svx OUString sPropertyName( provPos->second->getPropertyName() ); - ::comphelper::OInterfaceContainerHelper2* pPropListeners = m_aPropertyChangeListeners.getContainer( sPropertyName ); - ::comphelper::OInterfaceContainerHelper2* pAllListeners = m_aPropertyChangeListeners.getContainer( OUString() ); + ::comphelper::OInterfaceContainerHelper3<XPropertyChangeListener>* pPropListeners = m_aPropertyChangeListeners.getContainer( sPropertyName ); + ::comphelper::OInterfaceContainerHelper3<XPropertyChangeListener>* pAllListeners = m_aPropertyChangeListeners.getContainer( OUString() ); if ( !pPropListeners && !pAllListeners ) return;