diff options
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/transliteration/transliteration_Numeric.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i18npool/source/transliteration/transliteration_Numeric.cxx b/i18npool/source/transliteration/transliteration_Numeric.cxx index 4550026153d5..b479a85bfde1 100644 --- a/i18npool/source/transliteration/transliteration_Numeric.cxx +++ b/i18npool/source/transliteration/transliteration_Numeric.cxx @@ -72,7 +72,8 @@ transliteration_Numeric::transliterateBullet( const OUString& inStr, sal_Int32 s offset.realloc(nCount); for (sal_Int32 i = startPos; i < endPos; i++) { - if (i < endPos && isNumber(inStr[i])) { + if (isNumber(inStr[i])) + { if (number == -1) { startPos = i; number = (inStr[i] - NUMBER_ZERO); |