summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-06-25 18:32:54 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-06-28 16:40:48 +0200
commit03ef64befed26a03b35d6e977649face888f41a5 (patch)
tree62b89f3c4b7bdbaae468c49d9f18ab7b54b570d3
parentUpdate git submodules (diff)
downloadcore-03ef64befed26a03b35d6e977649face888f41a5.tar.gz
core-03ef64befed26a03b35d6e977649face888f41a5.zip
tdf#126071: fix assertion with offline help viewer
See bt here: https://bugs.documentfoundation.org/attachment.cgi?id=152373 + https://bugs.documentfoundation.org/show_bug.cgi?id=126071#c1 Change-Id: I6b9dcd0771d2e6df0cd89b3b0243d0d8defba685 (cherry picked from commit 0328e0af9532d5ab26840cf58b9dcbb69bb8c33d) Reviewed-on: https://gerrit.libreoffice.org/74845 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
-rw-r--r--sfx2/source/appl/newhelp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 8f6ccd8af2be..fc60111090e1 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -207,7 +207,7 @@ namespace sfx2
Boundary aBoundary = xBreak->getWordBoundary(
rSearchString, nStartPos, aLocale, WordType::ANYWORD_IGNOREWHITESPACES, true );
- while ( aBoundary.startPos != aBoundary.endPos )
+ while ( aBoundary.startPos < aBoundary.endPos )
{
nStartPos = aBoundary.endPos;
OUString sSearchToken( rSearchString.copy(