sw/source/core/txtnode/ndtxt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba748771cadb294d6af7b7c784c33ccf8632dff1
Author:     Noel Grandin <[email protected]>
AuthorDate: Tue Apr 2 08:20:13 2019 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Tue Apr 2 11:23:11 2019 +0200

    tdf#122926 FILEOPEN ODT Slower compared to the past (part2)
    
    Further improvement: on my machine, this takes the time from 8.9s to
    5.7s
    
    Change-Id: Ic7f7c46b10fbb671ff5bbf9d0a6a0195696741bc
    Reviewed-on: https://gerrit.libreoffice.org/70112
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index 377618f2cab8..6bf96c6d6a2c 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -1394,7 +1394,7 @@ void SwTextNode::Update(
             bool bAtLeastOneBookmarkMoved = false;
             bool bAtLeastOneExpandedBookmarkAtInsertionPosition = false;
             // A text node already knows its marks via its SwIndexes.
-            std::unordered_set<const sw::mark::IMark*> aSeenMarks;
+            o3tl::sorted_vector<const sw::mark::IMark*> aSeenMarks;
             const SwIndex* next;
             for (const SwIndex* pIndex = GetFirstIndex(); pIndex; pIndex = 
next )
             {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to