SvNumberFormatsSupplierServiceObject: default to LANGUAGE_SYSTEM

... instead of LANGUAGE_ENGLISH_US that will be ultimate fall-back
anyway if no match is found.

Change-Id: Ice6495e54fa0a1e275769fcfdf1e0e932e22944e
Reviewed-on: https://gerrit.libreoffice.org/61729
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
This commit is contained in:
Eike Rathke 2018-10-12 19:24:09 +02:00
parent da4dc53440
commit d77446f12b

View file

@ -75,7 +75,7 @@ void SAL_CALL SvNumberFormatsSupplierServiceObject::initialize( const Sequence<
} }
Type aExpectedArgType = ::cppu::UnoType<css::lang::Locale>::get(); Type aExpectedArgType = ::cppu::UnoType<css::lang::Locale>::get();
LanguageType eNewFormatterLanguage = LANGUAGE_ENGLISH_US; LanguageType eNewFormatterLanguage = LANGUAGE_SYSTEM;
// the default // the default
const Any* pArgs = _rArguments.getConstArray(); const Any* pArgs = _rArguments.getConstArray();