From c984b76efc71c106ad480ea29b5effd24a806a34 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 2 Jun 2015 22:57:13 +0200 Subject: loplugin:loopvartoosmall Change-Id: I33f4e74f97ba52b9240e6304d53eb256bd822060 --- lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lingucomponent') 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 ] ) -- cgit