[Libreoffice-bugs] [Bug 103855] Add a language code via an extension

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 10 13:48:26 UTC 2019


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

--- Comment #9 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to Eike Rathke from comment #8)
> I'm not quite sure about the oor:op="fuse" vs oor:op="replace" attribute,
> i.e. what would actually happen if there are multiple entries for one name.

"replace" just puts the new node in place, completely ignoring any previously
existing one, if any, while "fuse" merges with the content of any previously
existing node, if any.  But since this node of type ExtraLanguage is a
non-extensible group with exactly two member props ("Name" and "ScriptType"),
both of which are explicitly set here, there's effectively no difference in
"replace" vs. "fuse" in this case.  (And if multiple extensions bring along an
"ExtraLanguages" set element named "nod-TH", a random one wins.)

-- 
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/20190410/af2ab849/attachment.html>


More information about the Libreoffice-bugs mailing list