diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-04 21:51:57 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-05 00:29:19 -0500 |
commit | fc16069d1a8db45b7ecaa01c3ee1af0e904062c2 (patch) | |
tree | e87356f68b73003c8f849470e3e3aabce7846385 /sc/inc/markdata.hxx | |
parent | b8a863a219ae3efaa050e5f213d5ae3a91459c06 (diff) |
Reimplement ScMarkData::GetMarkedRowSpans() to use flat_segment_tree directly.
Change-Id: I90a1d4b3ae2e6aff9a7926b5842bc85ac172683d
Diffstat (limited to 'sc/inc/markdata.hxx')
-rw-r--r-- | sc/inc/markdata.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/markdata.hxx b/sc/inc/markdata.hxx index 943419d62308..0a5b19fc9bde 100644 --- a/sc/inc/markdata.hxx +++ b/sc/inc/markdata.hxx @@ -29,6 +29,7 @@ namespace sc { struct RowSpan; +struct ColRowSpan; } @@ -109,7 +110,7 @@ public: SCCOLROW GetMarkColumnRanges( SCCOLROW* pRanges ); SCCOLROW GetMarkRowRanges( SCCOLROW* pRanges ); - void GetMarkedRowSpans( SCTAB nTab, std::vector<sc::RowSpan>& rSpans ); + std::vector<sc::ColRowSpan> GetMarkedRowSpans( SCTAB nTab ) const; bool IsColumnMarked( SCCOL nCol ) const; bool IsRowMarked( SCROW nRow ) const; |