From 02c5ec92e3dfa8dee51e606ff8e929168948a8a7 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 25 Apr 2022 13:59:07 +0200 Subject: assert pre-requisities of BinarySearch() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I090a6538628eb5337a311ed8aec3580901e957ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134095 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- sc/inc/queryiter.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/inc/queryiter.hxx') diff --git a/sc/inc/queryiter.hxx b/sc/inc/queryiter.hxx index c2378bca6aa2..f5cba350bff2 100644 --- a/sc/inc/queryiter.hxx +++ b/sc/inc/queryiter.hxx @@ -87,9 +87,9 @@ protected: /* 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). Check these things before - invocation! Delivers a starting point, continue with e.g. GetThis() and GetNext() - afterwards. Introduced for FindEqualOrSortedLastInRange(). */ + (sorted ascending) or SC_GREATER_EQUAL (sorted descending). Delivers a starting point, + continue with e.g. GetThis() and GetNext() afterwards. Introduced + for FindEqualOrSortedLastInRange(). */ bool BinarySearch(); public: -- cgit