https://bugs.documentfoundation.org/show_bug.cgi?id=79892

Aron Budea <ba...@caesar.elte.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ba...@caesar.elte.hu
           Assignee|libreoffice-b...@lists.free |ba...@caesar.elte.hu
                   |desktop.org                 |

--- Comment #52 from Aron Budea <ba...@caesar.elte.hu> ---
http://opengrok.libreoffice.org/xref/core/unotools/source/i18n/transliterationwrapper.cxx#127

Here an additional condition should get rid of the constant release/recreation
of aLanguageTag internals:
&& ((LANGUAGE_SYSTEM != nLang) || (!aLanguageTag.isSystemLocale()))

Since if nLang is LANGUAGE_SYSTEM, and aLanguageTag is the system locale (which
is set like this: "mbSystemLocale      = nLanguage == LANGUAGE_SYSTEM;" ;
nLanguage is updated to system language later inside language tag), the
resulting language tag should be the same in the end.

I'll commit a patch with this, and a few related performance changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to