Ticket #6013: libs_icu_source_common.patch
File libs_icu_source_common.patch, 1.0 KB (added by , 14 years ago) |
---|
-
src/libs/icu/source/common/locid.cpp
63 63 eUS, 64 64 eCANADA, 65 65 eCANADA_FRENCH, 66 eFINNISH, 67 eSWEDISH, 66 68 67 69 68 70 //eDEFAULT, … … 1140 1142 return getLocale(eCANADA_FRENCH); 1141 1143 } 1142 1144 1145 const Locale & U_EXPORT2 1146 Locale::getFinnish(void) 1147 { 1148 return getLocale(eFINNISH); 1149 } 1150 1151 const Locale & U_EXPORT2 1152 Locale::getSwedish(void) 1153 { 1154 return getLocale(eSWEDISH); 1155 } 1156 1143 1157 const Locale & 1144 1158 Locale::getLocale(int locid) 1145 1159 { … … 1187 1201 tLocaleCache[eUS] = Locale("en", "US"); 1188 1202 tLocaleCache[eCANADA] = Locale("en", "CA"); 1189 1203 tLocaleCache[eCANADA_FRENCH] = Locale("fr", "CA"); 1204 tLocaleCache[eFINNISH] = Locale("fi", "FI"); 1205 tLocaleCache[eSWEDISH] = Locale("sv", "SE"); 1190 1206 1191 1207 umtx_lock(NULL); 1192 1208 if (gLocaleCache == NULL) {