diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-18 11:34:21 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-18 11:36:07 -0500 |
commit | 7dcfafc7d2f7ce8357c1570ea7547b5879f54172 (patch) | |
tree | 3dcc974434d602e0954d969da210992d9eb65321 /sc/inc/columnspanset.hxx | |
parent | cb3992630ce2452d1eb599ff1268efb4a1b99e04 (diff) |
Let's not re-use the same iterator esp when it's still iterating.
Change-Id: I1752857bc036f8d389b4b71d570cf83a76ef29ea
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 48ae7c1e65ec..63e8c9025e63 100644 --- a/sc/inc/columnspanset.hxx +++ b/sc/inc/columnspanset.hxx @@ -25,6 +25,7 @@ class ScRangeList; namespace sc { struct ColumnBlockConstPosition; +class SingleColumnSpanSet; struct RowSpan { @@ -92,6 +93,8 @@ public: void set(SCTAB nTab, SCCOL nCol, SCROW nRow1, SCROW nRow2, bool bVal); void set(const ScRange& rRange, bool bVal); + void set( SCTAB nTab, SCCOL nCol, const SingleColumnSpanSet& rSingleSet, bool bVal ); + /** * Scan specified range in a specified sheet and mark all non-empty cells * with specified boolean value. |