sw/source/uibase/docvw/srcedtw.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 07c934e3f12718bb5a4befce04148969a2350065 Author: Takeshi Abe <t...@fixedpoint.jp> AuthorDate: Tue Jul 24 14:21:53 2018 +0900 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Jul 24 08:40:14 2018 +0200 sw: Change TextPortions to std::vector as its usage does not require std::deque. Change-Id: I047e31972325a28f5ff92153e34893821e80fe57 Reviewed-on: https://gerrit.libreoffice.org/57898 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/uibase/docvw/srcedtw.cxx b/sw/source/uibase/docvw/srcedtw.cxx index dd82b1b4124e..a625f02bd999 100644 --- a/sw/source/uibase/docvw/srcedtw.cxx +++ b/sw/source/uibase/docvw/srcedtw.cxx @@ -45,7 +45,7 @@ #include <docsh.hxx> #include <srcview.hxx> #include <helpids.h> -#include <deque> +#include <vector> namespace { @@ -62,7 +62,7 @@ struct TextPortion #define MAX_SYNTAX_HIGHLIGHT 20 #define MAX_HIGHLIGHTTIME 200 -typedef std::deque<TextPortion> TextPortions; +typedef std::vector<TextPortion> TextPortions; static void lcl_Highlight(const OUString& rSource, TextPortions& aPortionList) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits