[Libreoffice-bugs] [Bug 133910] UNO: `callFunction`does not accept optional Array parameter

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 20 04:51:55 UTC 2020


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

--- Comment #3 from jun meguro <jmaguro at gmail.com> ---
I reproduced the error with the following simpler code.


Sub test
        Dim sMoji as string
        svc = createUnoService( "com.sun.star.sheet.FunctionAccess" )
        sMoji = svc.callFunction("MID",array("ABCABC123123",1,3))
        msgbox(sMoji)
End Sub

Sub test2
        Dim sMoji as string
        svc = createUnoService( "com.sun.star.sheet.FunctionAccess" )
        sMoji = svc.callFunction("ASC",array("ABCABC123123"))
        msgbox(sMoji)
End Sub


On 6.4.4 ,Executed successfully.
On 7.0.0 Beta2 ,Error Occured.

-- 
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/20200620/68c182eb/attachment.htm>


More information about the Libreoffice-bugs mailing list