[Libreoffice-commits] core.git: writerfilter/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sun Nov 1 14:18:36 UTC 2020


 writerfilter/source/dmapper/DomainMapper_Impl.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 090636a305e12538164217cdf7be49980088dc54
Author:     Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Sun Nov 1 14:10:25 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Nov 1 15:17:49 2020 +0100

    std::set->o3tl::sorted_vector in writerfilter
    
    Change-Id: I8b4527c8e40687918b3d5193f6c14ee86addab53
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105132
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.hxx b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
index bb7a7d4877b0..f547360df842 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.hxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
@@ -27,7 +27,7 @@
 #include <com/sun/star/embed/XStorage.hpp>
 #include <queue>
 #include <stack>
-#include <set>
+#include <o3tl/sorted_vector.hxx>
 #include <unordered_map>
 #include <vector>
 #include <optional>
@@ -485,7 +485,7 @@ private:
     std::stack< tools::SvRef< DomainMapperTableManager > > m_aTableManagers;
     tools::SvRef<DomainMapperTableHandler> m_pTableHandler;
     // List of document lists overrides. They are applied only once on first occurrence in document
-    std::set<sal_Int32> m_aListOverrideApplied;
+    o3tl::sorted_vector<sal_Int32> m_aListOverrideApplied;
 
     //each context needs a stack of currently used attributes
     std::stack<PropertyMapPtr>  m_aPropertyStacks[NUMBER_OF_CONTEXTS];


More information about the Libreoffice-commits mailing list