summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-08-01 10:56:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-01 20:06:00 +0200
commitd3a297110a1948ebc417717c78c489ddb58e2002 (patch)
tree6949910f57de17e578597710dcf610e422daa1ed /vcl/osx
parent2bbb7b94b2cf7b0d4723e8a00a9d9705bc443acd (diff)
o3tl::sorted_vector is better for small sets of pointers
Change-Id: I6f67cf1ec02095c3953853d53f8750a97369fbcb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119814 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/documentfocuslistener.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/documentfocuslistener.hxx b/vcl/osx/documentfocuslistener.hxx
index 93bc8136a984..ae695d27c5e4 100644
--- a/vcl/osx/documentfocuslistener.hxx
+++ b/vcl/osx/documentfocuslistener.hxx
@@ -26,7 +26,7 @@
#include <osx/a11yfocustracker.hxx>
-#include <set>
+#include <o3tl/sorted_vector.hxx>
class DocumentFocusListener :
@@ -90,7 +90,7 @@ public:
virtual void SAL_CALL notifyEvent( const css::accessibility::AccessibleEventObject& aEvent ) override;
private:
- std::set< css::uno::Reference< css::uno::XInterface > > m_aRefList;
+ o3tl::sorted_vector< css::uno::Reference< css::uno::XInterface > > m_aRefList;
AquaA11yFocusTracker& m_aFocusTracker;
};