diff options
author | Balazs Varga <balazs.varga.extern@allotropia.de> | 2024-04-21 13:39:58 +0200 |
---|---|---|
committer | Balazs Varga <balazs.varga.extern@allotropia.de> | 2024-04-30 23:32:49 +0200 |
commit | e2c9d38d95a1a0b5cf754fb04f2fd73c6ddb8004 (patch) | |
tree | d4bb0730140183d75587625489fa3221f3e491da /sc/inc/queryiter.hxx | |
parent | 38b6e89c9483fdfe3d26bef3b25f890528aef84e (diff) |
tdf#160725 - Fix XLOOKUP has different result for approximate
search than Excel.
Some rework for xlookup binary search in rows to get the correct results
when we are searching with binary mode in rows.
Change-Id: I7ef710c4ae638e2cf5d4bee45810cec7057f5d4b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166451
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'sc/inc/queryiter.hxx')
-rw-r--r-- | sc/inc/queryiter.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/queryiter.hxx b/sc/inc/queryiter.hxx index 2d54b40c469c..c6cd1906a4fb 100644 --- a/sc/inc/queryiter.hxx +++ b/sc/inc/queryiter.hxx @@ -103,7 +103,7 @@ public: protected: ScQueryCellIteratorAccessSpecific( ScDocument& rDocument, ScInterpreterContext& rContext, const ScQueryParam& rParam, bool bReverseSearch ); - void InitPosStart(); + void InitPosStart(sal_uInt8 nSortedBinarySearch = 0x00); void InitPosFinish( SCROW beforeRow, SCROW lastRow, bool bFirstMatch ); void IncPos() { IncPosImpl<false>(); } bool IncPosFast() { return IncPosImpl<true>(); } |