Lines Matching refs:rLocale
248 sal_Bool SAL_CALL SpellChecker::hasLocale(const Locale& rLocale) in hasLocale() argument
261 if (rLocale == pLocale[i]) in hasLocale()
271 sal_Int16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rLocale ) in GetSpellFailure() argument
302 if (rLocale == aDLocs[i]) in GetSpellFailure()
358 sal_Bool SAL_CALL SpellChecker::isValid( const OUString& rWord, const Locale& rLocale, in isValid() argument
364 if (rLocale == Locale() || !rWord.getLength()) in isValid()
367 if (!hasLocale( rLocale )) in isValid()
387 sal_Int16 nFailure = GetSpellFailure( rWord, rLocale ); in isValid()
390 sal_Int16 nLang = LocaleToLanguage( rLocale ); in isValid()
405 SpellChecker::GetProposals( const OUString &rWord, const Locale &rLocale ) in GetProposals() argument
435 sal_Int16 nLang = LocaleToLanguage( rLocale ); in GetProposals()
445 if (rLocale == aDLocs[i]) in GetProposals()
486 const OUString& rWord, const Locale& rLocale, in spell() argument
492 if (rLocale == Locale() || !rWord.getLength()) in spell()
495 if (!hasLocale( rLocale )) in spell()
503 if (!isValid( rWord, rLocale, rProperties )) in spell()
505 xAlt = GetProposals( rWord, rLocale ); in spell()