summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-08-01 10:54:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-01 20:05:36 +0200
commit2bbb7b94b2cf7b0d4723e8a00a9d9705bc443acd (patch)
treeedbcd2862f1b46f6d4e2f755c052ec4b0d97096f /unoxml
parent34617c92805bc413dc464cdadf8ed17861a95f75 (diff)
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@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/document.hxx4
1 files changed, 2 insertions, 2 deletions
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;