summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-07 18:17:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-08 17:04:03 +0200
commit9104017e1bf76857d2b9686363013e1e7c49e355 (patch)
tree949e30187049ed6d177405c8261b206a9b9088e2 /comphelper
parent5e69c5fbdb44cd782080e7f4d9ad89dc48b2d1b1 (diff)
create comphelper:OMultiTypeInterfaceContainerHelperVar2 and use it
based on OInterfaceContainerHelper2 which is considerably faster than the original OInterfaceContainerHelper Change-Id: Ia8cdbc5ef877a7af3d9193e1bb2faf1595c15470 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120165 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/property/genericpropertyset.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx
index 4bf9d31dc5f0..68ae7a3353b4 100644
--- a/comphelper/source/property/genericpropertyset.cxx
+++ b/comphelper/source/property/genericpropertyset.cxx
@@ -24,8 +24,8 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <cppuhelper/weakagg.hxx>
-#include <cppuhelper/interfacecontainer.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <comphelper/multiinterfacecontainer2.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;
- cppu::OMultiTypeInterfaceContainerHelperVar<OUString> m_aListener;
+ comphelper::OMultiTypeInterfaceContainerHelperVar2<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 )
{
- OInterfaceContainerHelper * pHelper = m_aListener.getContainer((*ppEntries)->maName);
+ OInterfaceContainerHelper2 * pHelper = m_aListener.getContainer((*ppEntries)->maName);
maAnyMap[ (*ppEntries)->maName ] = *pValues;