diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-05-20 23:51:08 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-22 08:56:21 +0000 |
commit | 8952e8055690417e60d75e4e4adf3c85a1029e7c (patch) | |
tree | 9d6a528313ad5b66382179d02c5ede7dd771a1f7 /et_EE | |
parent | ad516f720628c1af494733138ffc4a7b382599a6 (diff) |
Lightproof: do not return invalid nBehindEndOfSentencePosition
For a paragraph with a space at the end, this assertion is triggered:
linguistic/source/gciterator.cxx:162: lcl_SkipWhiteSpaces: illegal
arguments
Cause is the loop in doProofReading that gets the last character of the
paragraph and increments nStartOfNextSentencePosition even if it's
already at end of the text.
(regression from 080424980483bcc29a3556cf1a681c45cd5c50fc)
Change-Id: I58bd10d168f75f9d365cb33c0ade770750ff57ef
Reviewed-on: https://gerrit.libreoffice.org/15834
Reviewed-by: László Németh <nemeth@numbertext.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'et_EE')
0 files changed, 0 insertions, 0 deletions