[Libreoffice-bugs] [Bug 130426] Overflow error for unicode beyond Chr(&H7FFF)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Feb 20 12:02:27 UTC 2020


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

Stephan Bergmann <sbergman at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|sbergman at redhat.com         |libreoffice-bugs at lists.free
                   |                            |desktop.org
             Status|ASSIGNED                    |NEW

--- Comment #4 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to Mike Kaganski from comment #3)
> I am not sure this should work actually. It's incorrect to use Chr with
> negative value; and "helpful" Basic rules mandate that &F8000 is negative
> (see tdf#62326). A positive integral value should be passed, and to make it
> possible, tdf#130476 should be implemented instead, to allow using
> 
> Chr(&F8000&)

"Chr(&H8000&)", I assume.

Still, I guess that existing code using Chr(&H8000) etc. is not too uncommon,
and avoiding a regression with the small change of
<https://gerrit.libreoffice.org/c/core/+/89090> "tdf#130426 Support Basic
Chr(&H8000), ..., Chr(&HFFFF) again" should be rather harmless.  But I don't
care too much either way.

-- 
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/20200220/d9cded84/attachment.htm>


More information about the Libreoffice-bugs mailing list