summaryrefslogtreecommitdiffstats
path: root/ru_RU
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-05-22 12:55:39 +0200
committerMichael Stahl <mstahl@redhat.com>2015-05-22 12:55:39 +0200
commitcdb3172a438c7c56c4700edf7d771ede5cdf3402 (patch)
tree49b8e5e34723cb62986e2577e7d1b44774e957d2 /ru_RU
parentLightproof: do not return invalid nBehindEndOfSentencePosition (diff)
downloaddictionaries-cdb3172a438c7c56c4700edf7d771ede5cdf3402.tar.gz
dictionaries-cdb3172a438c7c56c4700edf7d771ede5cdf3402.zip
Lightproof: do not return invalid nBehindEndOfSentencePosition
Copy bugfix to localized Lightproof.py Change-Id: I7a27492a26e3bd18ba2c6a4a299039c2ded38e53
Diffstat (limited to 'ru_RU')
-rw-r--r--ru_RU/Lightproof.py2
1 files changed, 1 insertions, 1 deletions
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]