summaryrefslogtreecommitdiff
path: root/sc/inc/dpcache.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-12-15 00:46:12 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-12-15 00:51:54 -0500
commit696644dbfb25dea3030da92b2ab40cd70da90f05 (patch)
tree333696fcc845cf8dae01a0549e733712a8b9abeb /sc/inc/dpcache.hxx
parent33c5cd785762f272d2a88230af48261342800c3f (diff)
fdo#35943: Better performance with pivot table refresh.
When the source data range contains trailing rows, simply skip them, and don't even bother iterating them. Apparently sometimes users specify a data range with a huge amount of trailing empty rows, which would slow down the pivot table refresh for no good reason. But we do still need to keep the original end row position, in case the pivot table needs to include empty cells in the output. Change-Id: I2c73c368837b8e322e12b25ddf31429488961f06
Diffstat (limited to 'sc/inc/dpcache.hxx')
-rw-r--r--sc/inc/dpcache.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/dpcache.hxx b/sc/inc/dpcache.hxx
index 0185f9d654b9..69d11ec96bf0 100644
--- a/sc/inc/dpcache.hxx
+++ b/sc/inc/dpcache.hxx
@@ -121,6 +121,7 @@ private:
LabelsType maLabelNames; // Stores dimension names.
mdds::flat_segment_tree<SCROW, bool> maEmptyRows;
SCROW mnDataSize;
+ SCROW mnRowCount;
bool mbDisposing;