Kaydet (Commit) 4ff13188 authored tarafından Eike Rathke's avatar Eike Rathke

create SvNumberFormatter with LANGUAGE_SYSTEM instead of ScGlobal::eLnge

They both end up as the same locale, but with LANGUAGE_SYSTEM the LanguageTag
still has the mbSystemLocale=true "this is the system locale" context.

Change-Id: I7ff8a368e4dc9c6c471dd78be744c842b188478b
üst 7c7df2af
......@@ -98,7 +98,7 @@ SvNumberFormatter* ScPoolHelper::CreateNumberFormatter() const
SvNumberFormatter* p = nullptr;
{
osl::MutexGuard aGuard(&maMtxCreateNumFormatter);
p = new SvNumberFormatter(comphelper::getProcessComponentContext(), ScGlobal::eLnge);
p = new SvNumberFormatter(comphelper::getProcessComponentContext(), LANGUAGE_SYSTEM);
}
p->SetColorLink( LINK(m_pSourceDoc, ScDocument, GetUserDefinedColor) );
p->SetEvalDateFormat(NF_EVALDATEFORMAT_INTL_FORMAT);
......
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