diff options
Diffstat (limited to 'sc/inc/columnspanset.hxx')
-rw-r--r-- | sc/inc/columnspanset.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx index 98533e240f37..62e96a8a41bd 100644 --- a/sc/inc/columnspanset.hxx +++ b/sc/inc/columnspanset.hxx @@ -25,6 +25,14 @@ namespace sc { struct ColumnBlockConstPosition; +struct RowSpan +{ + SCROW mnRow1; + SCROW mnRow2; + + RowSpan(SCROW nRow1, SCROW nRow2); +}; + /** * Structure that stores segments of boolean flags per column, and perform * custom action on those segments. @@ -85,15 +93,7 @@ class SingleColumnSpanSet public: typedef mdds::flat_segment_tree<SCROW, bool> ColumnSpansType; - struct Span - { - SCROW mnRow1; - SCROW mnRow2; - - Span(SCROW nRow1, SCROW nRow2) : mnRow1(nRow1), mnRow2(nRow2) {} - }; - - typedef std::vector<Span> SpansType; + typedef std::vector<RowSpan> SpansType; SingleColumnSpanSet(); |