[Libreoffice-commits] core.git: unoxml/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Sun Aug 1 18:06:11 UTC 2021
unoxml/source/dom/document.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2bbb7b94b2cf7b0d4723e8a00a9d9705bc443acd
Author: Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Sun Aug 1 10:54:00 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Aug 1 20:05:36 2021 +0200
o3tl::sorted_vector is better for small sets of pointers
Change-Id: Ieffb65301b83c03fd690e7269c3b326abcfe9b8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119813
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/unoxml/source/dom/document.hxx b/unoxml/source/dom/document.hxx
index 0f2fda8b0d81..291535ebf8e5 100644
--- a/unoxml/source/dom/document.hxx
+++ b/unoxml/source/dom/document.hxx
@@ -19,7 +19,6 @@
#pragma once
-#include <set>
#include <memory>
#include <unordered_map>
@@ -46,6 +45,7 @@
#include <com/sun/star/io/XActiveDataControl.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XStreamListener.hpp>
+#include <o3tl/sorted_vector.hxx>
#include <node.hxx>
@@ -76,7 +76,7 @@ namespace DOM
xmlDocPtr const m_aDocPtr;
// datacontrol/source state
- typedef std::set< css::uno::Reference< css::io::XStreamListener > > listenerlist_t;
+ typedef o3tl::sorted_vector< css::uno::Reference< css::io::XStreamListener > > listenerlist_t;
listenerlist_t m_streamListeners;
css::uno::Reference< css::io::XOutputStream > m_rOutputStream;
More information about the Libreoffice-commits
mailing list