Lines Matching refs:aLoc
134 com::sun::star::lang::Locale aLoc( i_rLocale ); in normalizeInputLocale() local
135 if( bInsertDefault && aLoc.Language.getLength() == 0 ) in normalizeInputLocale()
138 aLoc = Application::GetSettings().GetUILocale(); in normalizeInputLocale()
146 …aLoc.Language = rtl::OStringToOUString( aStr.copy( 0, nLen > 2 ? 2 : nLen ), RTL_TEXTENCODING_MS_1… in normalizeInputLocale()
148 … aLoc.Country = rtl::OStringToOUString( aStr.copy( 3, 2 ), RTL_TEXTENCODING_MS_1252 ); in normalizeInputLocale()
150 aLoc.Country = rtl::OUString(); in normalizeInputLocale()
151 aLoc.Variant = rtl::OUString(); in normalizeInputLocale()
155 aLoc.Language = aLoc.Language.toAsciiLowerCase(); in normalizeInputLocale()
156 aLoc.Country = aLoc.Country.toAsciiUpperCase(); in normalizeInputLocale()
157 aLoc.Variant = aLoc.Variant.toAsciiUpperCase(); in normalizeInputLocale()
159 return aLoc; in normalizeInputLocale()
185 com::sun::star::lang::Locale aLoc; in insertValue() local
186 aLoc.Language = i_rLocale.Language.toAsciiLowerCase(); in insertValue()
187 aLoc.Country = i_rLocale.Country.toAsciiUpperCase(); in insertValue()
188 aLoc.Variant = i_rLocale.Variant.toAsciiUpperCase(); in insertValue()
189 m_aTranslations[ aK ][ aLoc ] = i_rTranslation; in insertValue()
222 com::sun::star::lang::Locale aLoc( normalizeInputLocale( i_rLocale, true ) ); in translateValue() local
225 translation_map::const_iterator tr = rMap.find( aLoc ); in translateValue()
233 case 0: aLoc.Variant = rtl::OUString();break; in translateValue()
234 case 1: aLoc.Country = rtl::OUString();break; in translateValue()
235 case 2: aLoc.Language = rtl::OUString();break; in translateValue()