summaryrefslogtreecommitdiff
path: root/sc/inc/column.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-05-22 21:08:56 -0400
committerKohei Yoshida <libreoffice@kohei.us>2017-05-24 05:19:40 +0200
commitd4cd8677889ec3807c194ef5b462f8e031807e5b (patch)
tree4b53429527d6358d145feef9912d0460924cbde0 /sc/inc/column.hxx
parent7948e84091f37fbda75f524f20138d1171918e64 (diff)
tdf#107945: properly iterate over mtv during pivot cache loading.
This reduces the total time required for populating the pivot cache by ~60%. Change-Id: I6a8511959c20231a8a5dbd0b0a9a3d0930a1fa0c Reviewed-on: https://gerrit.libreoffice.org/37971 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r--sc/inc/column.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index d406a21ac784..69caa12e648a 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -67,6 +67,7 @@ class CompileFormulaContext;
struct SetFormulaDirtyContext;
class RefMovedHint;
enum class MatrixEdge;
+class ColumnIterator;
}
@@ -666,6 +667,10 @@ public:
void SwapNonEmpty(
sc::TableValues& rValues, sc::StartListeningContext& rStartCxt, sc::EndListeningContext& rEndCxt );
+ std::unique_ptr<sc::ColumnIterator> GetColumnIterator( SCROW nRow1, SCROW nRow2 ) const;
+
+ void EnsureFormulaCellResults( SCROW nRow1, SCROW nRow2 );
+
#if DUMP_COLUMN_STORAGE
void DumpColumnStorage() const;
#endif