summaryrefslogtreecommitdiffstats
path: root/sc/inc/columnspanset.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-04 21:51:57 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-05 00:29:19 -0500
commitfc16069d1a8db45b7ecaa01c3ee1af0e904062c2 (patch)
treee87356f68b73003c8f849470e3e3aabce7846385 /sc/inc/columnspanset.hxx
parentdrawingML: do not write empty schemeClr tags (diff)
downloadcore-fc16069d1a8db45b7ecaa01c3ee1af0e904062c2.tar.gz
core-fc16069d1a8db45b7ecaa01c3ee1af0e904062c2.zip
Reimplement ScMarkData::GetMarkedRowSpans() to use flat_segment_tree directly.
Change-Id: I90a1d4b3ae2e6aff9a7926b5842bc85ac172683d
Diffstat (limited to 'sc/inc/columnspanset.hxx')
-rw-r--r--sc/inc/columnspanset.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx
index 62e96a8a41bd..7da98967ad28 100644
--- a/sc/inc/columnspanset.hxx
+++ b/sc/inc/columnspanset.hxx
@@ -33,6 +33,14 @@ struct RowSpan
RowSpan(SCROW nRow1, SCROW nRow2);
};
+struct ColRowSpan
+{
+ SCCOLROW mnStart;
+ SCCOLROW mnEnd;
+
+ ColRowSpan(SCCOLROW nStart, SCCOLROW nEnd);
+};
+
/**
* Structure that stores segments of boolean flags per column, and perform
* custom action on those segments.