diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-05-15 11:04:03 +0200 |
---|---|---|
committer | Dennis Francis <dennis.francis@collabora.com> | 2019-05-15 13:36:46 +0200 |
commit | 3e664b8f194392eb27aae953c0d33a8bdfd32982 (patch) | |
tree | eb09dc53a9287524d98b157cda8b1f5ca9bac58f /sc/inc | |
parent | 5fbd5c9ba97a7ecacebc6bcc582a36dd1631a5b3 (diff) |
cache cell positions when opening standard filter in calc (tdf#80853)
Part of the performance problem in the bugreport. Mdds otherwise
always starts a search from the beginning of the contaier.
Change-Id: Ic5c542220b7a8dc3aec0cfa93a0888997435fbfe
Reviewed-on: https://gerrit.libreoffice.org/72347
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/column.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 023e77427e01..f55bc63b9541 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -216,6 +216,8 @@ public: SCSIZE GetEmptyLinesInBlock( SCROW nStartRow, SCROW nEndRow, ScDirection eDir ) const; bool HasDataAt(SCROW nRow, bool bConsiderCellNotes=false, bool bConsiderCellDrawObjects=false) const; + bool HasDataAt(sc::ColumnBlockConstPosition& rBlockPos, SCROW nRow, bool bConsiderCellNotes=false, + bool bConsiderCellDrawObjects=false) const; bool HasVisibleDataAt(SCROW nRow) const; SCROW GetFirstDataPos() const; SCROW GetLastDataPos() const; |