use ScSortedRangeCache also for generic queries

Desktop / LibreOffice - Luboš Luňák [collabora.com] - 11 May 2022 09:48 UTC

This enables use for e.g. VLOOKUP or COUNTIFS (as COUNTIFS does not use the specialized code for COUNTIF).

Change-Id: Idad7503750d421f3f1c9ac34dfe95393fa3ead15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134124

e98a22b4e4f9 use ScSortedRangeCache also for generic queries
sc/inc/queryiter.hxx | 32 +++++++--
sc/source/core/data/queryiter.cxx | 142 ++++++++++++++++++++++++++++---------
sc/source/core/tool/interpr1.cxx | 71 ++++++++++++++-----
sc/source/core/tool/rangecache.cxx | 1 -
4 files changed, 187 insertions(+), 59 deletions(-)

Upstream: cgit.freedesktop.org


  • Share