summaryrefslogtreecommitdiff
path: root/l10ntools/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-27 13:00:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-27 13:00:55 +0100
commit431708c5eb27e6fa3675d17246891d717c0713ec (patch)
tree0f1e09cc365cc7f13cc8734bfcb6f8f817d2157e /l10ntools/source
parent1b3de9b6cde3a24b489fa3b42f53e9225666138a (diff)
loplugin:loopvartoosmall
Change-Id: I580639aecc4cf6a214a7aaba3bbe92f7459856d5
Diffstat (limited to 'l10ntools/source')
-rw-r--r--l10ntools/source/export.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 47f46a8b92df..37f0d64ee879 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -347,8 +347,7 @@ void Export::Execute( int nToken, const char * pToken )
sal_uInt16 nOpen = 0;
sal_uInt16 nClose = 0;
bool bReadOver1 = false;
- sal_uInt16 i = 0;
- for ( i = 0; i < sToken.getLength(); i++ ) {
+ for ( sal_Int32 i = 0; i < sToken.getLength(); i++ ) {
if ( sToken[i] == '"' )
bReadOver1 = !bReadOver1;
if ( !bReadOver1 && ( sToken[i] == '{' ))
@@ -356,7 +355,7 @@ void Export::Execute( int nToken, const char * pToken )
}
bReadOver1 = false;
- for ( i = 0; i < sToken.getLength(); i++ ) {
+ for ( sal_Int32 i = 0; i < sToken.getLength(); i++ ) {
if ( sToken[i] == '"' )
bReadOver1 = !bReadOver1;
if ( !bReadOver1 && ( sToken[i] == '}' ))