summaryrefslogtreecommitdiffstats
path: root/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-08-01 11:08:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-01 20:07:18 +0200
commitddc3e75845613a84b236229222e3a9b092a78861 (patch)
tree277012c3f3c23be5584b068c87955ad2bb690de2 /accessibility
parentunordered_map is better for pointer keys (diff)
downloadcore-ddc3e75845613a84b236229222e3a9b092a78861.tar.gz
core-ddc3e75845613a84b236229222e3a9b092a78861.zip
unordered_map is better for pointer keys
Change-Id: I0cb9e65efdeedafe87b4e32d01738943cc14d265 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119818 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/inc/extended/accessiblelistbox.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/inc/extended/accessiblelistbox.hxx b/accessibility/inc/extended/accessiblelistbox.hxx
index e2fc0c3022b4..4f4104701709 100644
--- a/accessibility/inc/extended/accessiblelistbox.hxx
+++ b/accessibility/inc/extended/accessiblelistbox.hxx
@@ -24,7 +24,7 @@
#include <vcl/vclevent.hxx>
#include <toolkit/awt/vclxaccessiblecomponent.hxx>
-#include <map>
+#include <unordered_map>
// class AccessibleListBox -----------------------------------------------
@@ -108,7 +108,7 @@ namespace accessibility
private:
- typedef std::map<SvTreeListEntry*, rtl::Reference<AccessibleListBoxEntry>> MAP_ENTRY;
+ typedef std::unordered_map<SvTreeListEntry*, rtl::Reference<AccessibleListBoxEntry>> MAP_ENTRY;
MAP_ENTRY m_mapEntry;
css::uno::Reference< css::accessibility::XAccessible > m_xFocusedChild;