https://bugs.documentfoundation.org/show_bug.cgi?id=150185
Bug ID: 150185
Summary: Error while working with an array of structures.
Product: LibreOffice
Version: 7.3.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Run macro:
Sub TestAWTPoint
Dim p(0) As New com.sun.star.awt.Point
Dim h As New com.sun.star.awt.Point
h.X=1
p(0)=h
Msgbox "h.X=" & h.X & " p(0).X=" & p(0).X
End Sub
Result: h.X=1 p(0).X=0
Must be: h.X=1 p(0).X=1
Looks like an error in the interpretation of the expression p(0).X
--
You are receiving this mail because:
You are the assignee for the bug.