diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-21 20:15:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 09:31:15 +0200 |
commit | 29840e676927eb44c5857e854df283d58aae93c3 (patch) | |
tree | 52eb360af59de9a5ca5b3dfeb94681765037a842 /lingucomponent | |
parent | 988e5c7b480c974c5bcc5c808092d0ea725511a2 (diff) |
loplugin:salbool
Change-Id: I186376ceeb53126bc31d63d00a988be6cb7a5637
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index 11d1356a5fd6..959d51813753 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -246,7 +246,7 @@ sal_Int16 MacSpellChecker::GetSpellFailure( const OUString &rWord, const Locale } NSInteger aCount; - NSRange range = [macSpell checkSpellingOfString:aNSStr startingAt:0 language:aLang wrap:sal_False inSpellDocumentWithTag:macTag wordCount:&aCount]; + NSRange range = [macSpell checkSpellingOfString:aNSStr startingAt:0 language:aLang wrap:false inSpellDocumentWithTag:macTag wordCount:&aCount]; int rVal = 0; if(range.length>0) { @@ -277,10 +277,10 @@ sal_Bool SAL_CALL MutexGuard aGuard( GetLinguMutex() ); if (rLocale == Locale() || !rWord.getLength()) - return sal_True; + return true; if (!hasLocale( rLocale )) - return sal_True; + return true; // Get property values to be used. // These are be the default values set in the SN_LINGU_PROPERTIES |