[Libreoffice-commits] core.git: svl/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Jul 22 10:50:24 UTC 2016
svl/source/numbers/zformat.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2263ff8550a896312d2eae16e0b1b2e9b0d6c884
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Jul 22 12:49:50 2016 +0200
svl: fix loplugin:loopvartoosmall warnings
Change-Id: I003719f67e6c1f0f48580c414b2ef7a7a2a2abcb
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index a638581..5e37a70 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, ' ');
}
}
More information about the Libreoffice-commits
mailing list