diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-05-06 11:53:09 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-05-10 16:25:21 +0200 |
commit | 1d8c31ea2555b339d5a4bc5449d40d546045435b (patch) | |
tree | f04bd1be69a33eb0461ee240f2b7bc50216b1bb1 /oox | |
parent | e2f8e5cf7cf9c7b2812ffbcd48ec21dc994339d6 (diff) |
sort out query iterator's BinarySearch() corner cases handling
If the code detects the range is not actually properly sorted,
set position to the first row and return false to force
linear search. If the searched for value belongs before the first
item, do the same, in which case the linear search should see
that it is this case (before this case nRow was set to the first
row regardless of where the searched for value belonged).
Change-Id: I8ff346783d93d74ff409b19aea394e202885647d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134100
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'oox')
0 files changed, 0 insertions, 0 deletions