summaryrefslogtreecommitdiff
path: root/lingucomponent/source/spellcheck
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/spellcheck')
-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 ] )