diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-20 13:46:49 +0200 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2019-11-20 23:47:18 +0100 |
commit | e073f996c4ec2582b9560e2fac828c9a73358423 (patch) | |
tree | b2312ac859c51060201c4b996757da318f16003a /sc/inc/document.hxx | |
parent | 8e3fa597679a6402bd6d74e2ec25631ae686c423 (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>
(cherry picked from commit d468958331f36310d11265ba55d7c27366ab58ab)
Reviewed-on: https://gerrit.libreoffice.org/83316
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r-- | sc/inc/document.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 6b3f8f6ecbb3..758bd4c4b0d0 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -316,6 +316,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; |