Lines Matching refs:aLocale
237 Locale aLocale; in getDefaultFont() local
238 aLocale.Language = rLocale.Language.toAsciiLowerCase(); in getDefaultFont()
239 aLocale.Country = rLocale.Country.toAsciiUpperCase(); in getDefaultFont()
240 aLocale.Variant = rLocale.Variant.toAsciiUpperCase(); in getDefaultFont()
243 OUString aRet = tryLocale( aLocale, aType ); in getDefaultFont()
244 if( ! aRet.getLength() && aLocale.Variant.getLength() ) in getDefaultFont()
246 aLocale.Variant = OUString(); in getDefaultFont()
247 aRet = tryLocale( aLocale, aType ); in getDefaultFont()
249 if( ! aRet.getLength() && aLocale.Country.getLength() ) in getDefaultFont()
251 aLocale.Country = OUString(); in getDefaultFont()
252 aRet = tryLocale( aLocale, aType ); in getDefaultFont()
256 aLocale.Language = OUString( RTL_CONSTASCII_USTRINGPARAM( "en" ) ); in getDefaultFont()
257 aRet = tryLocale( aLocale, aType ); in getDefaultFont()
264 Locale aLocale = rLocale; in getUserInterfaceFont() local
265 if( ! aLocale.Language.getLength() ) in getUserInterfaceFont()
266 aLocale = SvtSysLocale().GetUILocale(); in getUserInterfaceFont()
268 OUString aUIFont = getDefaultFont( aLocale, DEFAULTFONT_UI_SANS ); in getUserInterfaceFont()
324 if( aLocale.Language.equalsAscii( "ar" ) || in getUserInterfaceFont()
325 aLocale.Language.equalsAscii( "he" ) || in getUserInterfaceFont()
326 aLocale.Language.equalsAscii( "iw" ) ) in getUserInterfaceFont()
330 else if( aLocale.Language.equalsAscii( "th" ) ) in getUserInterfaceFont()
334 else if( aLocale.Language.equalsAscii( "ko" ) ) in getUserInterfaceFont()
338 else if( aLocale.Language.equalsAscii( "cs" ) || in getUserInterfaceFont()
339 aLocale.Language.equalsAscii( "hu" ) || in getUserInterfaceFont()
340 aLocale.Language.equalsAscii( "pl" ) || in getUserInterfaceFont()
341 aLocale.Language.equalsAscii( "ro" ) || in getUserInterfaceFont()
342 aLocale.Language.equalsAscii( "rm" ) || in getUserInterfaceFont()
343 aLocale.Language.equalsAscii( "hr" ) || in getUserInterfaceFont()
344 aLocale.Language.equalsAscii( "sk" ) || in getUserInterfaceFont()
345 aLocale.Language.equalsAscii( "sl" ) || in getUserInterfaceFont()
346 aLocale.Language.equalsAscii( "sb" ) ) in getUserInterfaceFont()
350 else if( aLocale.Language.equalsAscii( "zh" ) ) in getUserInterfaceFont()
352 if( ! aLocale.Country.equalsAscii( "cn" ) ) in getUserInterfaceFont()
357 else if( aLocale.Language.equalsAscii( "ja" ) ) in getUserInterfaceFont()
1180 Locale aLocale; in getSubstInfo() local
1181 aLocale.Language = rLocale.Language.toAsciiLowerCase(); in getSubstInfo()
1182 aLocale.Country = rLocale.Country.toAsciiUpperCase(); in getSubstInfo()
1183 aLocale.Variant = rLocale.Variant.toAsciiUpperCase(); in getSubstInfo()
1185 if( ! aLocale.Language.getLength() ) in getSubstInfo()
1186 aLocale = SvtSysLocale().GetUILocale(); in getSubstInfo()
1188 while( aLocale.Language.getLength() ) in getSubstInfo()
1190 … std::hash_map< Locale, LocaleSubst, LocaleHash >::const_iterator lang = m_aSubst.find( aLocale ); in getSubstInfo()
1194 readLocaleSubst( aLocale ); in getSubstInfo()
1209 if( aLocale.Variant.getLength() ) in getSubstInfo()
1210 aLocale.Variant = OUString(); in getSubstInfo()
1211 else if( aLocale.Country.getLength() ) in getSubstInfo()
1212 aLocale.Country = OUString(); in getSubstInfo()
1213 else if( ! aLocale.Language.equalsAscii( "en" ) ) in getSubstInfo()
1214 aLocale.Language = OUString( RTL_CONSTASCII_USTRINGPARAM( "en" ) ); in getSubstInfo()
1216 aLocale.Language = OUString(); in getSubstInfo()