summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 14:29:05 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commitafcf1ecee1af1312551583b9fc860c1881ba2134 (patch)
tree5b932308905d86f01f9f73aec0ae0d95836079c3 /framework
parentabb774722230ce2b55f2e1f1528fcd0514ba83e1 (diff)
loplugin:loopvartoosmall
Change-Id: I1e9768c08af0bc7caac6a39c13842ee9d8ad962c
Diffstat (limited to 'framework')
-rw-r--r--framework/source/fwi/helper/mischelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/fwi/helper/mischelper.cxx b/framework/source/fwi/helper/mischelper.cxx
index a3f09309b51f..5b1e15fa1e89 100644
--- a/framework/source/fwi/helper/mischelper.cxx
+++ b/framework/source/fwi/helper/mischelper.cxx
@@ -200,7 +200,7 @@ void FillLangItems( std::set< OUString > &rLangItems,
Sequence< Locale > rLocales( xDocumentLanguages->getDocumentLanguages( static_cast<sal_Int16>(nScriptType), nMaxCount ));
if ( rLocales.getLength() > 0 )
{
- for ( sal_uInt16 i = 0; i < rLocales.getLength(); ++i )
+ for ( sal_Int32 i = 0; i < rLocales.getLength(); ++i )
{
if ( rLangItems.size() == static_cast< size_t >(nMaxCount) )
break;