diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-22 12:49:50 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-22 12:49:50 +0200 |
commit | 2263ff8550a896312d2eae16e0b1b2e9b0d6c884 (patch) | |
tree | 014922165918e54566fe2d03750951bf71524188 /svl | |
parent | tdf#100834 String between integer and fraction (diff) | |
download | core-2263ff8550a896312d2eae16e0b1b2e9b0d6c884.tar.gz core-2263ff8550a896312d2eae16e0b1b2e9b0d6c884.zip |
svl: fix loplugin:loopvartoosmall warnings
Change-Id: I003719f67e6c1f0f48580c414b2ef7a7a2a2abcb
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index a63858172572..5e37a701ca3c 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -2580,7 +2580,7 @@ bool SvNumberformat::ImpGetFractionOutput(double fNumber, || sNumeratorFormat.indexOf('?') >= 0 || sDenominatorFormat.indexOf('?') >= 0 ) { - for (sal_uInt16 i = 0; i < rInfo.sStrArray[j].getLength(); i++) + for (sal_Int32 i = 0; i < rInfo.sStrArray[j].getLength(); i++) sFrac.insert(0, ' '); } } @@ -2593,7 +2593,7 @@ bool SvNumberformat::ImpGetFractionOutput(double fNumber, if ( sIntegerFormat.indexOf('?') >= 0 || sNumeratorFormat.indexOf('?') >= 0 ) { - for (sal_uInt16 i = 0; i < rInfo.sStrArray[j].getLength(); i++) + for (sal_Int32 i = 0; i < rInfo.sStrArray[j].getLength(); i++) sFrac.insert(0, ' '); } } |