sw/source/core/txtnode/modeltoviewhelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 84dd33d8f59dfb69505538e7615907d152f3ac9c Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Aug 14 13:54:37 2020 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Aug 14 15:30:35 2020 +0200 can use sorted_vector here Change-Id: I5f6c1fe7de1dcd409f484a755b8e1313acc8f0c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100741 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/core/txtnode/modeltoviewhelper.cxx b/sw/source/core/txtnode/modeltoviewhelper.cxx index b0ba367faa25..7a6d936b31d5 100644 --- a/sw/source/core/txtnode/modeltoviewhelper.cxx +++ b/sw/source/core/txtnode/modeltoviewhelper.cxx @@ -31,7 +31,7 @@ #include <txtftn.hxx> #include <scriptinfo.hxx> #include <IDocumentMarkAccess.hxx> -#include <set> +#include <o3tl/sorted_vector.hxx> #include <vector> namespace { @@ -64,7 +64,7 @@ struct block sal_Int32 m_nStart; sal_Int32 m_nLen; bool m_bVisible; - std::set<FieldResult, sortfieldresults> m_aAttrs; + o3tl::sorted_vector<FieldResult, sortfieldresults> m_aAttrs; block(sal_Int32 nStart, sal_Int32 nLen, bool bVisible) : m_nStart(nStart), m_nLen(nLen), m_bVisible(bVisible) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits