Lines Matching refs:nLang
584 void MsLangId::convertLanguageToIsoNames( LanguageType nLang, in convertLanguageToIsoNames() argument
587 if ( nLang == LANGUAGE_SYSTEM ) in convertLanguageToIsoNames()
588 nLang = MsLangId::getSystemLanguage(); in convertLanguageToIsoNames()
594 if ( pEntry->mnLang == nLang ) in convertLanguageToIsoNames()
610 if ( pNoneStdEntry->mnLang == nLang ) in convertLanguageToIsoNames()
628 void MsLangId::convertLanguageToIsoNames( LanguageType nLang, in convertLanguageToIsoNames() argument
631 if ( nLang == LANGUAGE_SYSTEM ) in convertLanguageToIsoNames()
632 nLang = MsLangId::getSystemLanguage(); in convertLanguageToIsoNames()
638 if ( pEntry->mnLang == nLang ) in convertLanguageToIsoNames()
654 if ( pNoneStdEntry->mnLang == nLang ) in convertLanguageToIsoNames()
671 static const MsLangId::IsoLangEntry & lcl_lookupFallbackEntry( LanguageType nLang ) in lcl_lookupFallbackEntry() argument
673 LanguageType nPrimary = MsLangId::getPrimaryLanguage( nLang); in lcl_lookupFallbackEntry()
680 if (pEntry->mnLang == nLang) in lcl_lookupFallbackEntry()
684 switch (nLang) in lcl_lookupFallbackEntry()
711 if (MsLangId::getPrimaryLanguage( pEntry->mnLang) == nLang) in lcl_lookupFallbackEntry()
724 LanguageType MsLangId::lookupFallbackLanguage( LanguageType nLang ) in lookupFallbackLanguage() argument
726 return lcl_lookupFallbackEntry( nLang).mnLang; in lookupFallbackLanguage()
731 ::com::sun::star::lang::Locale MsLangId::lookupFallbackLocale( LanguageType nLang ) in lookupFallbackLocale() argument
733 const MsLangId::IsoLangEntry& rEntry = lcl_lookupFallbackEntry( nLang); in lookupFallbackLocale()
826 rtl::OUString MsLangId::convertLanguageToIsoString( LanguageType nLang, in convertLanguageToIsoString() argument
831 convertLanguageToIsoNames( nLang, aLangStr, aCountry ); in convertLanguageToIsoString()
846 rtl::OString MsLangId::convertLanguageToIsoByteString( LanguageType nLang, in convertLanguageToIsoByteString() argument
851 convertLanguageToIsoNames( nLang, aLangStr, aCountry ); in convertLanguageToIsoByteString()