Kaydet (Commit) 07c934e3 authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Noel Grandin

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: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 98c21af7
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#include <docsh.hxx> #include <docsh.hxx>
#include <srcview.hxx> #include <srcview.hxx>
#include <helpids.h> #include <helpids.h>
#include <deque> #include <vector>
namespace namespace
{ {
...@@ -62,7 +62,7 @@ struct TextPortion ...@@ -62,7 +62,7 @@ struct TextPortion
#define MAX_SYNTAX_HIGHLIGHT 20 #define MAX_SYNTAX_HIGHLIGHT 20
#define MAX_HIGHLIGHTTIME 200 #define MAX_HIGHLIGHTTIME 200
typedef std::deque<TextPortion> TextPortions; typedef std::vector<TextPortion> TextPortions;
static void lcl_Highlight(const OUString& rSource, TextPortions& aPortionList) static void lcl_Highlight(const OUString& rSource, TextPortions& aPortionList)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment