Kaydet (Commit) 29840e67 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:salbool

Change-Id: I186376ceeb53126bc31d63d00a988be6cb7a5637
üst 988e5c7b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment