comphelper/source/property/genericpropertyset.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 0edde043a03cb7c6b6123d79700bfcdff9882f88
Author:     Noel Grandin <[email protected]>
AuthorDate: Wed Dec 1 18:28:50 2021 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Fri Dec 3 08:36:28 2021 +0100

    use OMultiTypeInterfaceContainerHelperVar3 in GenericPropertySet
    
    Change-Id: I8ce94a11b632f51086480acef8dcfc3e8bea1b65
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126193
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

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;
 

Reply via email to