Lines Matching refs:nLang

586 void MsLangId::convertLanguageToIsoNames( LanguageType nLang,  in convertLanguageToIsoNames()  argument
589 if ( nLang == LANGUAGE_SYSTEM ) in convertLanguageToIsoNames()
590 nLang = MsLangId::getSystemLanguage(); in convertLanguageToIsoNames()
596 if ( pEntry->mnLang == nLang ) in convertLanguageToIsoNames()
612 if ( pNoneStdEntry->mnLang == nLang ) in convertLanguageToIsoNames()
630 void MsLangId::convertLanguageToIsoNames( LanguageType nLang, in convertLanguageToIsoNames() argument
633 if ( nLang == LANGUAGE_SYSTEM ) in convertLanguageToIsoNames()
634 nLang = MsLangId::getSystemLanguage(); in convertLanguageToIsoNames()
640 if ( pEntry->mnLang == nLang ) in convertLanguageToIsoNames()
656 if ( pNoneStdEntry->mnLang == nLang ) in convertLanguageToIsoNames()
673 static const MsLangId::IsoLangEntry & lcl_lookupFallbackEntry( LanguageType nLang ) in lcl_lookupFallbackEntry() argument
675 LanguageType nPrimary = MsLangId::getPrimaryLanguage( nLang); in lcl_lookupFallbackEntry()
682 if (pEntry->mnLang == nLang) in lcl_lookupFallbackEntry()
686 switch (nLang) in lcl_lookupFallbackEntry()
713 if (MsLangId::getPrimaryLanguage( pEntry->mnLang) == nLang) in lcl_lookupFallbackEntry()
726 LanguageType MsLangId::lookupFallbackLanguage( LanguageType nLang ) in lookupFallbackLanguage() argument
728 return lcl_lookupFallbackEntry( nLang).mnLang; in lookupFallbackLanguage()
733 ::com::sun::star::lang::Locale MsLangId::lookupFallbackLocale( LanguageType nLang ) in lookupFallbackLocale() argument
735 const MsLangId::IsoLangEntry& rEntry = lcl_lookupFallbackEntry( nLang); in lookupFallbackLocale()
828 rtl::OUString MsLangId::convertLanguageToIsoString( LanguageType nLang, in convertLanguageToIsoString() argument
833 convertLanguageToIsoNames( nLang, aLangStr, aCountry ); in convertLanguageToIsoString()
848 rtl::OString MsLangId::convertLanguageToIsoByteString( LanguageType nLang, in convertLanguageToIsoByteString() argument
853 convertLanguageToIsoNames( nLang, aLangStr, aCountry ); in convertLanguageToIsoByteString()