diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-10-27 21:12:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-28 07:25:01 +0100 |
commit | 1977138acba04a7b91d73a3041606b2387e72e70 (patch) | |
tree | 1f2f9df79bb48a3e36e1a20036ad1407bea1df07 /toolkit | |
parent | 458ee884c5a57ee1e6dd775b0fbe86a4e3dad5a5 (diff) |
std::set->o3tl::sorted_vector in toolkit
Change-Id: I1ef897d38c26d2875432d279fdd50d2e073ad2a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104903
Tested-by: Jenkins
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/inc/helper/unopropertyarrayhelper.hxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/inc/helper/unopropertyarrayhelper.hxx b/toolkit/inc/helper/unopropertyarrayhelper.hxx index 6036901ac842..29c87099a83b 100644 --- a/toolkit/inc/helper/unopropertyarrayhelper.hxx +++ b/toolkit/inc/helper/unopropertyarrayhelper.hxx @@ -24,13 +24,13 @@ #include <cppuhelper/propshlp.hxx> #include <vector> -#include <set> +#include <o3tl/sorted_vector.hxx> class UnoPropertyArrayHelper final : public ::cppu::IPropertyArrayHelper { - std::set<sal_Int32> maIDs; + o3tl::sorted_vector<sal_Int32> maIDs; bool ImplHasProperty( sal_uInt16 nPropId ) const; diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 5725cd16501a..80ebb041299c 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -46,7 +46,7 @@ #include <vcl/unohelp.hxx> #include <memory> -#include <set> +#include <o3tl/sorted_vector.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -546,7 +546,7 @@ void UnoControlModel::write( const css::uno::Reference< css::io::XObjectOutputSt OutStream->writeShort( UNOCONTROL_STREAMVERSION ); - std::set<sal_uInt16> aProps; + o3tl::sorted_vector<sal_uInt16> aProps; for (const auto& rData : maData) { |