From 49ea2258d482950ad3af16f9c8ac4fef7f192fc0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 28 May 2015 16:48:15 +0200 Subject: loplugin:loopvartoosmall Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4 --- i18npool/source/indexentry/indexentrysupplier_default.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i18npool/source/indexentry') diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx index 7fccfb4e1cfd..69f5aeb48c6d 100644 --- a/i18npool/source/indexentry/indexentrysupplier_default.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx @@ -271,7 +271,7 @@ void Index::init(const lang::Locale &rLocale, const OUString& algorithm) throw ( sal_Int16 j=0; sal_Unicode start = unicode::getUnicodeScriptStart((UnicodeScript)0); sal_Unicode end = unicode::getUnicodeScriptEnd((UnicodeScript)0); - for (sal_Int16 i= (scriptList[0] == (UnicodeScript)0) ? 1 : 0; i< scriptList.getLength(); i++) { + for (sal_Int32 i= (scriptList[0] == (UnicodeScript)0) ? 1 : 0; i< scriptList.getLength(); i++) { if (unicode::getUnicodeScriptStart(scriptList[i]) != end+1) { tables[j++].init(start, end, keys, key_count, this); start = unicode::getUnicodeScriptStart(scriptList[i]); -- cgit