Kaydet (Commit) 247c4604 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix build for me

Change-Id: Ic29ff474101c88fbc428d229871659d99dd92d05
üst 0eaa504b
......@@ -382,7 +382,8 @@ FcResult FontCfgWrapper::LocalizedElementFromPattern(FcPattern* pPattern, FcChar
//possible to-do, sort by UILocale instead of process locale
rtl_Locale* pLoc = NULL;
osl_getProcessLocale(&pLoc);
localizedsorter aSorter( *pLoc);
LanguageTag aTag(*pLoc);
localizedsorter aSorter(aTag);
*element = aSorter.bestname(lang_and_elements);
//if this element is a fontname, map the other names to this best-name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment