Updated core Project: dictionaries  8952e8055690417e60d75e4e4adf3c85a1029e7c
Updated core
Project: dictionaries  8952e8055690417e60d75e4e4adf3c85a1029e7c

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 <055b5e65ef41f69c2addd79c9ca51c6f66037b70@numbertext.org>
Reviewed-by: Caolán McNamara <301f5784f9f6aac04077f24f1e5abc31af69d401@redhat.com>
Tested-by: Caolán McNamara <301f5784f9f6aac04077f24f1e5abc31af69d401@redhat.com>


JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core