[Libreoffice-bugs] [Bug 137742] Google Docs exports only (ambiguous) "en" language tag text attribute

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 31 10:55:57 UTC 2021


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

--- Comment #30 from Eike Rathke <erack at redhat.com> ---
Fwiw, code pointers for that:

Check for hyphenator to output the info message happens in
sw/source/core/text/inftxt.cxx line 1496 of SwTextFormatInfo::IsHyphenate()
with

  if (!xHyph->hasLocale(g_pBreakIt->GetLocale(eTmp)))

where eTmp is LCID 0x040C (1036) for fr-FR and GetLocale() call correctly
results in lang::Locale("fr","FR","") and then in my debug build where I do
have French hyphenation available xHyph->hasLocale() returns true and does not
complain.

The info message in case the locale is not found also only outputs the
language, not the full language tag, so that single "fr" there is explained.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210331/099ac62c/attachment.htm>


More information about the Libreoffice-bugs mailing list