summaryrefslogtreecommitdiff
path: root/sc/inc/columnspanset.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-21 10:29:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-21 14:02:03 +0200
commit99cd1d8834bb708afc81c825ff2b7992b7acb37d (patch)
treed2c5579e5967bc4c90d1ff95bd50d588faf2cf21 /sc/inc/columnspanset.hxx
parent159b8fb14f3577812819508f4160c37414cce6da (diff)
flatten TableType in ColumnSpanSet
Change-Id: I66c8a1ac022da0f64dc16fdda364da6402d3db30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119307 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/columnspanset.hxx')
-rw-r--r--sc/inc/columnspanset.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx
index 547861d1c583..a5fed2d3f25a 100644
--- a/sc/inc/columnspanset.hxx
+++ b/sc/inc/columnspanset.hxx
@@ -11,6 +11,7 @@
#include "address.hxx"
+#include <optional>
#include <vector>
#include <mdds/flat_segment_tree.hpp>
@@ -59,7 +60,7 @@ private:
ColumnType(SCROW nStart, SCROW nEnd, bool bInit);
};
- typedef std::vector<std::unique_ptr<ColumnType>> TableType;
+ typedef std::vector<std::optional<ColumnType>> TableType;
std::vector<TableType> maTables;