diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-01 18:28:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-03 08:36:28 +0100 |
commit | 0edde043a03cb7c6b6123d79700bfcdff9882f88 (patch) | |
tree | 559a779beb99282d9468c51d09387117f71f01fe | |
parent | f8fa0d27074ec1af450196efa1be14ae1dda9314 (diff) |
use OMultiTypeInterfaceContainerHelperVar3 in GenericPropertySet
Change-Id: I8ce94a11b632f51086480acef8dcfc3e8bea1b65
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126193
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | comphelper/source/property/genericpropertyset.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx index 68ae7a3353b4..26f21e987e29 100644 --- a/comphelper/source/property/genericpropertyset.cxx +++ b/comphelper/source/property/genericpropertyset.cxx @@ -25,7 +25,7 @@ #include <com/sun/star/lang/XTypeProvider.hpp> #include <cppuhelper/weakagg.hxx> #include <cppuhelper/supportsservice.hxx> -#include <comphelper/multiinterfacecontainer2.hxx> +#include <comphelper/multiinterfacecontainer3.hxx> #include <comphelper/propertysethelper.hxx> #include <osl/mutex.hxx> #include <rtl/ref.hxx> @@ -57,7 +57,7 @@ namespace comphelper { private: std::map<OUString, Any> maAnyMap; - comphelper::OMultiTypeInterfaceContainerHelperVar2<OUString> m_aListener; + comphelper::OMultiTypeInterfaceContainerHelperVar3<XPropertyChangeListener, OUString> m_aListener; protected: virtual void _setPropertyValues( const PropertyMapEntry** ppEntries, const Any* pValues ) override; @@ -148,7 +148,7 @@ void GenericPropertySet::_setPropertyValues( const PropertyMapEntry** ppEntries, while( *ppEntries ) { - OInterfaceContainerHelper2 * pHelper = m_aListener.getContainer((*ppEntries)->maName); + OInterfaceContainerHelper3<XPropertyChangeListener> * pHelper = m_aListener.getContainer((*ppEntries)->maName); maAnyMap[ (*ppEntries)->maName ] = *pValues; |