summaryrefslogtreecommitdiff
path: root/i18npool/source/indexentry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 16:48:15 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commit49ea2258d482950ad3af16f9c8ac4fef7f192fc0 (patch)
tree4910b89f264f47c378fa7540705ca84f50d91919 /i18npool/source/indexentry
parente0b2e6e3f767240016133dd2d55e0bfb9192ca39 (diff)
loplugin:loopvartoosmall
Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
Diffstat (limited to 'i18npool/source/indexentry')
-rw-r--r--i18npool/source/indexentry/indexentrysupplier_default.cxx2
1 files changed, 1 insertions, 1 deletions
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]);