unexpected behaviour whilst fixing fdo#50118
Eike Rathke
erack at redhat.com
Thu Sep 26 13:19:14 PDT 2013
Hi Winfried,
On Thursday, 2013-09-26 12:12:48 +0200, Winfried Donkers wrote:
> In /sc/source/core/tool/addincol.cxx in ScUnoAddInCollection::ReadFromAddIn() I use Application::GetSettings().GetUILanguageTag().getLocale() (not yet pushed, still in https://gerrit.libreoffice.org/#/c/6032/), which works well during start up.
> But when calling Application::GetSettings().GetUILanguageTag().getLocale() again later, when the gobal setting 'Use English function names' has been changed, the call returns an empty locale (i.e. locale.Country is empty)!
Let me guess, your system locale and UI localization is Dutch, and at
that place of the application locale only Country and Variant are empty
but Language=="nl"? I think I know why, need some more digging.
Eike
--
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130926/cdb7550f/attachment.pgp>
More information about the LibreOffice
mailing list