Kaydet (Commit) 759d5635 authored tarafından Eike Rathke's avatar Eike Rathke

use LanguageTag to convert

Change-Id: I721f1018e6380a3102b6dd20052001b1e950421b
üst 96a5c866
......@@ -105,10 +105,7 @@ css::uno::Sequence< css::lang::Locale > SvxAsianConfig::GetStartEndCharLocales()
getElementNames());
css::uno::Sequence< css::lang::Locale > ls(ns.getLength());
for (sal_Int32 i = 0; i < ns.getLength(); ++i) {
sal_Int32 n = 0;
ls[i].Language = ns[i].getToken(0, '-', n);
ls[i].Country = ns[i].getToken(0, '-', n);
ls[i].Variant = ns[i].getToken(0, '-', n);
ls[i] = LanguageTag( ns[i]).getLocale( false);
}
return ls;
}
......
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