Lines Matching refs:aLang
79 sal_uInt32 GetLangId( const ByteString& aLang ) in GetLangId() argument
81 langmap::iterator pIter = ULong_Iso_map.find( aLang ); in GetLangId()
96 ByteString aCountry, aLang; in Init() local
106 aLang = pLangEntry->maLangStr; in Init()
108 if ( aLang.EqualsIgnoreCaseAscii( aCountry ) || ! aCountry.Len() ) in Init()
110 SetConstant( rNames.Put( aLang.GetBuffer(), CONSTNAME, mnLangId ), mnLangId ); in Init()
111 if ( ! GetLangId( aLang )) in Init()
112 ULong_Iso_map[ aLang ] = mnLangId; in Init()
114 fprintf( stderr, "ISO Language out: %s 0x%lx\n", aLang.GetBuffer(), mnLangId ); in Init()
120 SetConstant( rNames.Put( aLang.GetBuffer(), CONSTNAME, mnLangId ), mnLangId ); in Init()
121 if ( ! GetLangId( aLang )) in Init()
122 ULong_Iso_map[ aLang ] = mnLangId; in Init()
124 fprintf( stderr, "ISO Language out: %s 0x%lx", aLang.GetBuffer(), mnLangId ); in Init()
127 aLang += csep; in Init()
128 aLang += aCountry.ToUpperAscii(); in Init()
129 SetConstant( rNames.Put( aLang.GetBuffer(), CONSTNAME, mnLangId ), mnLangId ); in Init()
130 if ( ! GetLangId( aLang )) in Init()
131 ULong_Iso_map[ aLang ] = mnLangId; in Init()
133 fprintf( stderr, " %s 0x%lx\n", aLang.GetBuffer(), mnLangId ); in Init()
137 if ( aLang == "en-US" ) in Init()
192 rtl::OString aLang( pLang ); in AddLanguage() local
193 if ( ! GetLangId( aLang )) in AddLanguage()
194 ULong_Iso_map[ aLang ] = mnLangId; in AddLanguage()