summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-10-27 21:10:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-28 07:23:39 +0100
commitce0f8cff3e2e42bf6ff0968c3a6a9efb71ec00d1 (patch)
treeb7754de47d0ce25e89e070e27c7f1f2e02497982 /include
parent917401207eed9e3c70a01260f1ea770779620e9d (diff)
std::set->o3tl::sorted_vector in InterfaceBag
Change-Id: I28ecffdcf6c97f9153e62974bf76b972452747eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104901 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/o3tl/sorted_vector.hxx1
-rw-r--r--include/svx/fmtools.hxx4
2 files changed, 3 insertions, 2 deletions
diff --git a/include/o3tl/sorted_vector.hxx b/include/o3tl/sorted_vector.hxx
index 803a044535e8..508fe61cc03e 100644
--- a/include/o3tl/sorted_vector.hxx
+++ b/include/o3tl/sorted_vector.hxx
@@ -45,6 +45,7 @@ public:
typedef typename std::vector<Value>::const_reverse_iterator const_reverse_iterator;
typedef typename std::vector<Value>::difference_type difference_type;
typedef typename std::vector<Value>::size_type size_type;
+ typedef Value value_type;
constexpr sorted_vector( std::initializer_list<Value> init )
: m_vector(init)
diff --git a/include/svx/fmtools.hxx b/include/svx/fmtools.hxx
index f0fba4e0f32a..90eb6d74c49c 100644
--- a/include/svx/fmtools.hxx
+++ b/include/svx/fmtools.hxx
@@ -30,7 +30,7 @@
#include <rtl/ref.hxx>
#include <cppuhelper/implbase.hxx>
-
+#include <o3tl/sorted_vector.hxx>
#include <set>
namespace com::sun::star::beans { class XPropertySet; }
@@ -168,7 +168,7 @@ bool isRowSetAlive(const css::uno::Reference< css::uno::XInterface>& _rxRowSet);
// checks if the css::sdbcx::XColumnsSupplier provided by _rxRowSet supplies any columns
-typedef ::std::set< css::uno::Reference< css::uno::XInterface > > InterfaceBag;
+typedef ::o3tl::sorted_vector< css::uno::Reference< css::uno::XInterface > > InterfaceBag;
#endif // INCLUDED_SVX_FMTOOLS_HXX