diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-28 16:48:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-29 08:48:41 +0200 |
commit | 49ea2258d482950ad3af16f9c8ac4fef7f192fc0 (patch) | |
tree | 4910b89f264f47c378fa7540705ca84f50d91919 /i18npool/source/collator | |
parent | loplugin:loopvartoosmall (diff) | |
download | core-49ea2258d482950ad3af16f9c8ac4fef7f192fc0.tar.gz core-49ea2258d482950ad3af16f9c8ac4fef7f192fc0.zip |
loplugin:loopvartoosmall
Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
Diffstat (limited to 'i18npool/source/collator')
-rw-r--r-- | i18npool/source/collator/collatorImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/collator/collatorImpl.cxx b/i18npool/source/collator/collatorImpl.cxx index 2c931443a630..6d64b2fd3a71 100644 --- a/i18npool/source/collator/collatorImpl.cxx +++ b/i18npool/source/collator/collatorImpl.cxx @@ -74,7 +74,7 @@ sal_Int32 SAL_CALL CollatorImpl::loadDefaultCollator(const lang::Locale& rLocale, sal_Int32 collatorOptions) throw(RuntimeException, std::exception) { const Sequence< Implementation > &imp = mxLocaleData->getCollatorImplementations(rLocale); - for (sal_Int16 i = 0; i < imp.getLength(); i++) + for (sal_Int32 i = 0; i < imp.getLength(); i++) if (imp[i].isDefault) return loadCollatorAlgorithm(imp[i].unoID, rLocale, collatorOptions); |