diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-08-16 05:25:32 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-08-16 05:25:32 +0200 |
commit | 1cf19ea84794ca065749667b480dfed2d27d47b7 (patch) | |
tree | 4aec42e164a4dbdcd752903f3ec6994de96bde77 /sc/inc/columnspanset.hxx | |
parent | 17f6f60c1c20782fb1cde69b949b97c2f3b0d830 (diff) |
don't call ScMarkData::GetMarkedRanges in ScColumn, related fdo#79422
This drops the calls to ScMarkData::GetMarkedRanges by a factor of 1k.
Change-Id: I12b1ab3877120a1fbccaccaa7996cbb7efe948b6
Diffstat (limited to 'sc/inc/columnspanset.hxx')
-rw-r--r-- | sc/inc/columnspanset.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx index 7c7fdf524010..f397c3e6292e 100644 --- a/sc/inc/columnspanset.hxx +++ b/sc/inc/columnspanset.hxx @@ -20,6 +20,7 @@ class ScDocument; class ScColumn; class ScMarkData; class ScRange; +class ScRangeList; namespace sc { @@ -132,6 +133,8 @@ public: */ void scan(const ScMarkData& rMark, SCTAB nTab, SCCOL nCol); + void scan(const ScRangeList& rRanges, SCTAB nTab, SCCOL nCol); + void set(SCROW nRow1, SCROW nRow2, bool bVal); void getRows(std::vector<SCROW> &rRows) const; |