summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 22:57:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 22:57:44 +0200
commitc984b76efc71c106ad480ea29b5effd24a806a34 (patch)
tree1fd5a2845fd0964ebf78ffe8ef9b70bc5ff51923 /lingucomponent
parent1d25c7102137a4b7eda069fe9dc0d7ba13604ac2 (diff)
loplugin:loopvartoosmall
Change-Id: I33f4e74f97ba52b9240e6304d53eb256bd822060
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
index 609e315f7f93..410464195c9d 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
@@ -118,7 +118,7 @@ Sequence< Locale > SAL_CALL MacSpellChecker::getLocales()
NSArray *aLocales = [NSLocale availableLocaleIdentifiers];
//Test for existence of the dictionaries
- for (unsigned int i = 0; i < [aLocales count]; i++)
+ for (NSUInteger i = 0; i < [aLocales count]; i++)
{
NSString* pLangStr = (NSString*)[aLocales objectAtIndex:i];
if( [macSpell setLanguage:pLangStr ] )