accessibility/inc/extended/accessiblelistbox.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ddc3e75845613a84b236229222e3a9b092a78861 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sun Aug 1 11:08:41 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Aug 1 20:07:18 2021 +0200 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.gran...@collabora.co.uk> 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;