diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-05 22:01:29 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-05 22:45:40 -0500 |
commit | 68fd7b7adc3021d30460a2c80d6876df239fd490 (patch) | |
tree | 36ba2c8efa323a3cc1ae1bdb62f3d65df90cb2a3 /sc/source/core/data/columnspanset.cxx | |
parent | d0894ff58fbdd823273bc91939801971b7a03182 (diff) |
Fix incorrect adjustment of range references during sort.
... as a result of the introduction of range-based area listeners.
With this change, the insertRangeData() function for ucalc no longer needs
the additional bGroupListening flag. All tests pass with group listening
enabled at all times.
Change-Id: I9b9fb9443c727ff62badbd60ec9cd94094eb5a45
Diffstat (limited to 'sc/source/core/data/columnspanset.cxx')
-rw-r--r-- | sc/source/core/data/columnspanset.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/data/columnspanset.cxx b/sc/source/core/data/columnspanset.cxx index 6132906db33a..25f6b5baf45b 100644 --- a/sc/source/core/data/columnspanset.cxx +++ b/sc/source/core/data/columnspanset.cxx @@ -227,6 +227,12 @@ void ColumnSpanSet::executeColumnAction(ScDocument& rDoc, ColumnAction& ac) cons } } +void ColumnSpanSet::swap( ColumnSpanSet& r ) +{ + maDoc.swap(r.maDoc); + std::swap(mbInit, r.mbInit); +} + namespace { class Scanner |