summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-20 13:46:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-20 15:02:50 +0100
commitd468958331f36310d11265ba55d7c27366ab58ab (patch)
tree9ac269ebc114225bb59ce51c5ab242f99a729985 /sc/inc/table.hxx
parent6cdc0dbfadfcbfa4f53a3c21a494ab225ba5d955 (diff)
tdf#128812 speed up loading calc doc with lots of countif
by creating a copy of ScQueryCellIterator that is specialised for this use-case. Takes the opening time from 50s to 8s on my machine. Change-Id: I193a7c181a5dfed6fecf75e871729d73625d0df6 Reviewed-on: https://gerrit.libreoffice.org/83299 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r--sc/inc/table.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index a31e6191eb6e..49ff6b2a96ea 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -250,6 +250,7 @@ friend class ScDBQueryDataIterator;
friend class ScFormulaGroupIterator;
friend class ScCellIterator;
friend class ScQueryCellIterator;
+friend class ScCountIfCellIterator;
friend class ScHorizontalCellIterator;
friend class ScHorizontalAttrIterator;
friend class ScDocAttrIterator;