diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-27 12:57:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-27 12:57:23 +0100 |
commit | 1b3de9b6cde3a24b489fa3b42f53e9225666138a (patch) | |
tree | fe3556e3254bf744c83af7a1d69c5be01bf4d82a /i18npool/source/nativenumber | |
parent | e74152d0744ebc63612dcfc0d375671eebf35141 (diff) |
loplugin:loopvartoosmall
Change-Id: I1842a5e047e4566371b62511ad5b56d466e717da
Diffstat (limited to 'i18npool/source/nativenumber')
-rw-r--r-- | i18npool/source/nativenumber/nativenumbersupplier.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/i18npool/source/nativenumber/nativenumbersupplier.cxx b/i18npool/source/nativenumber/nativenumbersupplier.cxx index 01ef7dc3000c..43c81b5123a6 100644 --- a/i18npool/source/nativenumber/nativenumbersupplier.cxx +++ b/i18npool/source/nativenumber/nativenumbersupplier.cxx @@ -97,9 +97,8 @@ bool SAL_CALL AsciiToNative_numberMaker(const sal_Unicode *str, sal_Int32 begin, sal_Unicode multiChar = (multiChar_index == -1 ? 0 : number->multiplierChar[multiChar_index]); if ( len <= number->multiplierExponent[number->exponentCount-1] ) { if (number->multiplierExponent[number->exponentCount-1] > 1) { - sal_Int16 i; bool bNotZero = false; - for (i = 0; i < len; i++, begin++) { + for (sal_Int32 i = 0; i < len; i++, begin++) { if (bNotZero || str[begin] != NUMBER_ZERO) { dst[count] = numberChar[str[begin] - NUMBER_ZERO]; if (useOffset) |