https://bugs.documentfoundation.org/show_bug.cgi?id=149622
Bug ID: 149622
Summary: The return value of createUnoService callback is not
initialized
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Consider the code:
Sub testHandler()
oHandler = CreateUNoListener("Handler_", "com.sun.star.awt.XEventHandler")
MsgBox oHandler.handleEvent(0) ' must output "True"
MsgBox oHandler.handleEvent(1) ' must output "False" as the default return
value
End Sub
Function Handler_handleEvent(Event) As Boolean
If Event = 0 Then Handler_handleEvent = True
End Function
It should give "True" then "False", but actually outputs "True" "True".
This is similar to bug 143582 and bug 146742, but the function call happens in
SbxObject::Call.
--
You are receiving this mail because:
You are the assignee for the bug.