From 04e3424f49b85b98d244cf7953a1736614b75f46 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 6 Dec 2021 12:23:27 +0200 Subject: [PATCH] map->unordered_map in PropertyMapper a little bit faster Change-Id: I11e756e65a76fedeca2525edf37a04b34ac6aeda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126407 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/view/inc/PropertyMapper.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chart2/source/view/inc/PropertyMapper.hxx b/chart2/source/view/inc/PropertyMapper.hxx index 2039ebdde185..54699b95017a 100644 --- a/chart2/source/view/inc/PropertyMapper.hxx +++ b/chart2/source/view/inc/PropertyMapper.hxx @@ -20,7 +20,7 @@ #include -#include +#include #include #include @@ -30,8 +30,8 @@ namespace com::sun::star::beans { class XPropertySet; } namespace chart { -typedef std::map< OUString, OUString > tPropertyNameMap; -typedef std::map< OUString, css::uno::Any > tPropertyNameValueMap; +typedef std::unordered_map tPropertyNameMap; +typedef std::unordered_map tPropertyNameValueMap; typedef css::uno::Sequence< OUString > tNameSequence; typedef css::uno::Sequence< css::uno::Any > tAnySequence;