Lines Matching refs:rLocale
274 sal_Bool SAL_CALL SpellChecker::hasLocale(const Locale& rLocale) in hasLocale() argument
287 if (rLocale == pLocale[i]) in hasLocale()
297 sal_Int16 SpellChecker::GetSpellFailure( const OUString &rWord, const Locale &rLocale ) in GetSpellFailure() argument
328 if (rLocale == aDLocs[i]) in GetSpellFailure()
384 sal_Bool SAL_CALL SpellChecker::isValid( const OUString& rWord, const Locale& rLocale, in isValid() argument
390 if (rLocale == Locale() || !rWord.getLength()) in isValid()
393 if (!hasLocale( rLocale )) in isValid()
413 sal_Int16 nFailure = GetSpellFailure( rWord, rLocale ); in isValid()
416 sal_Int16 nLang = LocaleToLanguage( rLocale ); in isValid()
431 SpellChecker::GetProposals( const OUString &rWord, const Locale &rLocale ) in GetProposals() argument
461 sal_Int16 nLang = LocaleToLanguage( rLocale ); in GetProposals()
471 if (rLocale == aDLocs[i]) in GetProposals()
508 const OUString& rWord, const Locale& rLocale, in spell() argument
514 if (rLocale == Locale() || !rWord.getLength()) in spell()
517 if (!hasLocale( rLocale )) in spell()
525 if (!isValid( rWord, rLocale, rProperties )) in spell()
527 xAlt = GetProposals( rWord, rLocale ); in spell()