summaryrefslogtreecommitdiffstats
path: root/sc/inc/columnspanset.hxx
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect adjustment of range references during sort.Kohei Yoshida2014-12-051-0/+2
| | | | | | | | | | ... 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
* Let's not re-use the same iterator esp when it's still iterating.Kohei Yoshida2014-11-181-0/+3
| | | | Change-Id: I1752857bc036f8d389b4b71d570cf83a76ef29ea
* Simplify DeleteCells to not require 2 out parameters for the same thing.Kohei Yoshida2014-11-181-0/+2
| | | | | | One can easily get constructed from the other after returning from the method. Change-Id: Iafc52efa7714b7cf4d284effda8034cb6f36bf91
* don't call ScMarkData::GetMarkedRanges in ScColumn, related fdo#79422Markus Mohrhard2014-08-161-0/+3
| | | | | | This drops the calls to ScMarkData::GetMarkedRanges by a factor of 1k. Change-Id: I12b1ab3877120a1fbccaccaa7996cbb7efe948b6
* fdo#78062: Broadcast only on non-empty cells within deleted range.Kohei Yoshida2014-05-031-0/+8
| | | | | | | We don't want to broadcast over the whole selected range, which may be the whole sheet which is well over 1 billion cells ! Change-Id: I7c139ce5efe09312cf824e35f0efe551184032eb
* fixincludeguards.sh: scThomas Arnhold2014-04-191-2/+2
| | | | sorry, huge one...
* Remove all uses of GetMarkRowRanges() and use GetMarkedRowSpans().Kohei Yoshida2014-02-271-1/+1
| | | | | | | | And ditto with its column variant. The former created a heap array of 1 million elements (=MAXROWCOUNT). There is no need for this memory wastage. Change-Id: I07845966c51cdcbdc676cd0d249f6420a19b9c5e
* Reimplement ScMarkData::GetMarkedRowSpans() to use flat_segment_tree directly.Kohei Yoshida2014-02-051-0/+8
| | | | Change-Id: I90a1d4b3ae2e6aff9a7926b5842bc85ac172683d
* fdo#73606: Avoid excessive and unnecessary heap allocation of array objects.Kohei Yoshida2014-01-141-9/+9
| | | | | | This is a leftover from the 1 million row conversion we did years ago. Change-Id: Ib50819ed51c7017bcc559bfc8b6062ff46615d09
* Re-implement the COUNT function for efficiency.Kohei Yoshida2013-07-021-3/+26
| | | | | | By taking advantage of the block structure of the new cell storage. Change-Id: Ib953c14d364ccdff7df5caf70d57cec86189e3be
* Switch to using multi_type_vector for cell storage.Kohei Yoshida2013-06-241-0/+54
| | | | | | | The old style cell storage is no more. Currently the code is buildable, but crashes during unit test. Change-Id: Ie688e22e95c7fb02b9e97b23df0fc1883a97945f
* Ditto when purging broadcasters.Kohei Yoshida2013-05-201-1/+0
| | | | Change-Id: I632d617cad76485f7e1f57daa7db4d4cfa775e8b
* Optimize ScViewFunc::GetSelectionScriptType().Kohei Yoshida2013-05-201-1/+5
| | | | | | | This change reduces the duration of this method from somewhere in the ballpark of 10 seconds down to a tiny fraction of a second. Change-Id: I0278dc06a4f134b43cd08bd94693b6dec4893f1f
* Keep track of empty broadcaster segments, and delete them all in one go.Kohei Yoshida2013-05-201-0/+53
This massively speeds up the deletion of a large group of adjacent formula cells. As an example, on machine, deletion of formula cells over B2:B109101 (109100 cells in total) got reduced from 4.7 seconds to 0.09 seconds). Change-Id: Ib72da42a6644421601111907cf7c899d828c2996