summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-30 13:16:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-30 16:19:00 +0200
commitce3e03bd87b9091485931d7621472a3113b41a9e (patch)
treeb168b4611c98cb2b46c6eb8422895aaa0d9e8625 /editeng
parent94614dc88d78c68d687222d2eb205605e1bd0c51 (diff)
deque could be a vector instead
reduces peak memory from 90M to 65M Change-Id: Ia30309b7a1adf0736c1e84b2aafcd8b10b7fea8c Reviewed-on: https://gerrit.libreoffice.org/58324 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/inc/editdoc.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/inc/editdoc.hxx b/editeng/inc/editdoc.hxx
index 821a26e79306..92b677466761 100644
--- a/editeng/inc/editdoc.hxx
+++ b/editeng/inc/editdoc.hxx
@@ -33,7 +33,6 @@
#include <tools/lineend.hxx>
#include <o3tl/typed_flags_set.hxx>
-#include <deque>
#include <memory>
#include <vector>
@@ -90,7 +89,7 @@ struct ScriptTypePosInfo
}
};
-typedef std::deque< ScriptTypePosInfo > ScriptTypePosInfos;
+typedef std::vector<ScriptTypePosInfo> ScriptTypePosInfos;
struct WritingDirectionInfo
{