diff options
-rw-r--r-- | hu_HU/Lightproof.py | 2 | ||||
-rw-r--r-- | pt_BR/Lightproof.py | 2 | ||||
-rw-r--r-- | ru_RU/Lightproof.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/hu_HU/Lightproof.py b/hu_HU/Lightproof.py index e5936b8..daeddeb 100644 --- a/hu_HU/Lightproof.py +++ b/hu_HU/Lightproof.py @@ -122,7 +122,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] diff --git a/pt_BR/Lightproof.py b/pt_BR/Lightproof.py index 44f6934..8064fee 100644 --- a/pt_BR/Lightproof.py +++ b/pt_BR/Lightproof.py @@ -122,7 +122,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] diff --git a/ru_RU/Lightproof.py b/ru_RU/Lightproof.py index 4af25f8..198b762 100644 --- a/ru_RU/Lightproof.py +++ b/ru_RU/Lightproof.py @@ -122,7 +122,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] |