[Libreoffice-commits] core.git: editeng/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Aug 13 13:40:16 UTC 2018
editeng/source/editeng/impedit4.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1fdb7c1434048f4dfc7168158c626cdc188dccde
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Wed Aug 8 22:58:43 2018 +0200
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 13 15:39:56 2018 +0200
tdf#119155, tdf#119162: check there's at least 1 word in Capitalize Every Word
See https://bugs.documentfoundation.org/show_bug.cgi?id=119155#c4
+ https://bugs.documentfoundation.org/attachment.cgi?id=144036
Change-Id: Id2cb05b3c83069b031a8be73cf0a4ec774d94d7e
Reviewed-on: https://gerrit.libreoffice.org/58750
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 14449b19fb5e..b9b55534b37e 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -2756,7 +2756,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection,
}
i18n::Boundary aCurWordBndry( aSttBndry );
- while (aCurWordBndry.startPos <= aEndBndry.startPos)
+ while (aCurWordBndry.endPos && aCurWordBndry.startPos <= aEndBndry.startPos)
{
nCurrentStart = aCurWordBndry.startPos;
nCurrentEnd = aCurWordBndry.endPos;
More information about the Libreoffice-commits
mailing list