diff options
Diffstat (limited to 'en')
-rw-r--r-- | en/Lightproof.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/en/Lightproof.py b/en/Lightproof.py index e7cde2f..3003810 100644 --- a/en/Lightproof.py +++ b/en/Lightproof.py @@ -121,7 +121,7 @@ class Lightproof( unohelper.Base, XProofreader, XServiceInfo, XServiceName, XSer if 'PYUNO_LOGLEVEL' in os.environ: print(traceback.format_exc()) - l = rText[nSuggestedSentenceEndPos:nSuggestedSentenceEndPos+1] + l = rText[aRes.nStartOfNextSentencePosition:aRes.nStartOfNextSentencePosition+1] while l == " ": aRes.nStartOfNextSentencePosition = aRes.nStartOfNextSentencePosition + 1 l = rText[aRes.nStartOfNextSentencePosition:aRes.nStartOfNextSentencePosition+1] |