[Libreoffice-bugs] [Bug 142180] Invalid text comparison result in Basic

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 9 15:47:36 UTC 2021


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

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
            Version|7.1.3.2 release             |Inherited From OOo
           Keywords|                            |difficultyBeginner,
                   |                            |easyHack, skillCpp

--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
Also repro with OOo 3.2.0.

Additional observations:

  msgbox TypeName("A"<"Z")
  msgbox "A"<"Z"
  A = "A"
  Z = "Z"
  msgbox TypeName(A < Z)
  msgbox A < Z

gives:

  Integer
  0
  Boolean
  True

So it's a matter of handling literals.

Code pointer: SbiExprNode::FoldConstantsBinaryNode in
basic/source/comp/exprnode.cxx.

-- 
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/20210509/15c578ce/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list