[Libreoffice-commits] core.git: vcl/osx

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 1 18:06:35 UTC 2021


 vcl/osx/documentfocuslistener.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d3a297110a1948ebc417717c78c489ddb58e2002
Author:     Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Sun Aug 1 10:56:34 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Aug 1 20:06:00 2021 +0200

    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 at collabora.co.uk>

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;
 };


More information about the Libreoffice-commits mailing list