[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sfx2/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 28 18:35:09 UTC 2019


 sfx2/source/appl/newhelp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cb1c5ae7af997d7643da97235caf95789ba09416
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Jun 25 18:32:54 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Jun 28 20:34:30 2019 +0200

    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/74846
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Jenkins

diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 034a8987de36..19abe18a466d 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -206,7 +206,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(


More information about the Libreoffice-commits mailing list