summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-27 08:09:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-07 13:18:25 +0100
commitb461c3cb76a7a1f5ad6f8205c1f5203b587ffb9c (patch)
tree146167cee203a9c7ba4869fda94a642879f0fd29 /sw/source/filter
parentefca0ebee5a5d80a309487bceb76f7828740e822 (diff)
std::set->o3tl::sorted_vector in SwSoftPageBreakList
Change-Id: I929b2eb5824580d106b2505ea6b2d0a59248a6f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104856 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index 3ad49714fac3..ae1d3dfffd25 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -41,6 +41,7 @@
#include <optional>
#include <o3tl/typed_flags_set.hxx>
+#include <o3tl/sorted_vector.hxx>
#include <cstddef>
#include <memory>
@@ -126,7 +127,7 @@ namespace sw::mark { class IFieldmark; }
namespace com::sun::star::embed { class XEmbeddedObject; }
typedef std::map<const css::embed::XEmbeddedObject*, sal_Int32> WW8OleMap;
-typedef std::set< sal_Int32 > SwSoftPageBreakList;
+typedef o3tl::sorted_vector< sal_Int32 > SwSoftPageBreakList;
#define GRF_MAGIC_1 0x12 // 3 magic bytes for PicLocFc attribute
#define GRF_MAGIC_2 0x34