summaryrefslogtreecommitdiff
path: root/sc/inc/queryiter.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-05-06 10:22:50 +0200
committerLuboš Luňák <l.lunak@collabora.com>2022-05-10 16:24:55 +0200
commite2f8e5cf7cf9c7b2812ffbcd48ec21dc994339d6 (patch)
tree357ae53a142b441ce7ff3a046b93ca95497bf2b1 /sc/inc/queryiter.hxx
parent6a5464b800aa0b0ce35d602fd008b555d96a94af (diff)
make BinarySearch() work for SC_EQUAL, SC_LESS, SC_GREATER
Change-Id: I296686709688a9e3f2cda0864d73c79a17e33f49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134099 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/inc/queryiter.hxx')
-rw-r--r--sc/inc/queryiter.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/queryiter.hxx b/sc/inc/queryiter.hxx
index e247a471db65..847241124a2e 100644
--- a/sc/inc/queryiter.hxx
+++ b/sc/inc/queryiter.hxx
@@ -140,9 +140,9 @@ protected:
void PerformQuery();
/* Only works if no regular expression is involved, only searches for rows in one column,
- and only the first query entry is considered with simple conditions SC_LESS_EQUAL
- (sorted ascending) or SC_GREATER_EQUAL (sorted descending). Delivers a starting point,
- continue with e.g. GetThis() and GetNext() afterwards. Introduced
+ and only the first query entry is considered with simple conditions SC_LESS,SC_LESS_EQUAL,
+ SC_EQUAL (sorted ascending) or SC_GREATER,SC_GREATER_EQUAL (sorted descending). Delivers
+ a starting point, continue with e.g. GetThis() and GetNext() afterwards. Introduced
for FindEqualOrSortedLastInRange(). */
bool BinarySearch();