Apache OpenOffice (AOO) Bugzilla – Issue 116948
Basic: IsMissing not correct when calling sub with parameter names
Last modified: 2017-05-20 10:44:59 UTC
Calling "Main" in the following Basic-Code should result in a message box showing the text "p2=2". OOo shows "p1= , p2=2" instead. => p1 does not get the "IsMissing" flag when Test is called with parameter "p2:=2". Using the call "Test , 2" works as expected. Sub Main Test p2:=2 End Sub Sub Test(Optional p1, Optional p2) If Not IsMissing(p1) Then a = "p1=" & p1 If Not IsMissing(p2) Then a = a & " p2=" & p2 MsgBox a End Sub
I think, that it is the same internal problem as bug 23763.
Reset the assignee to the default "issues@openoffice.apache.org".