diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-11-12 22:52:35 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-11-13 07:01:49 +0100 |
commit | 102acb3675fed4e4e61a98722e279b9d8bc18ad2 (patch) | |
tree | 3aa990bb7ae9e28ab5a229edf7ff60fc39688afc /sw/source | |
parent | a7f961ddd88df4117de5f7c199881cf75d2905b5 (diff) |
Replace list by vector vRedlines (sw)
Change-Id: I4c5ca9dc59a08343fdbd2c2237f8346572f26011
Reviewed-on: https://gerrit.libreoffice.org/44659
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/doc/doccomp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index 52f9c86a4e62..c9c7d58a0c3d 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -45,7 +45,6 @@ #include <com/sun/star/document/XDocumentProperties.hpp> #include <cstddef> -#include <list> #include <memory> #include <vector> @@ -2077,7 +2076,7 @@ long SwDoc::MergeDoc( const SwDoc& rDoc ) // we want to get all redlines from the SourceDoc // look for all insert redlines from the SourceDoc and determine their position in the DestDoc - std::list<SaveMergeRedline> vRedlines; + std::vector<SaveMergeRedline> vRedlines; const SwRedlineTable& rSrcRedlTable = rSrcDoc.getIDocumentRedlineAccess().GetRedlineTable(); sal_uLong nEndOfExtra = rSrcDoc.GetNodes().GetEndOfExtras().GetIndex(); sal_uLong nMyEndOfExtra = GetNodes().GetEndOfExtras().GetIndex(); |