[Libreoffice-bugs] [Bug 131516] Use of WEBSERVICE within a macro in CALC raises an "Illegal argument" exception - Similar to #115710

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 19 13:25:05 UTC 2020


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

Buovjaga <ilmari.lauhakangas at libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ilmari.lauhakangas at libreoff
                   |                            |ice.org
         Whiteboard| QA:needsComment            |

--- Comment #1 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
I tried with

Sub Main
svc = createUnoService( "com.sun.star.sheet.FunctionAccess" ) 'Create a service
to use Calc functions
XML_String =
svc.callFunction("WEBSERVICE",array("http://www.lipsum.com/feed/xml?amount=2&what=paras&start=Yes"))
Lipsum = svc.callFunction("FILTERXML", array(XML_String, "/feed/lipsum" ))
Print Lipsum
End Sub

and it works fine for me.

Maybe there is some glitch in your system.

Arch Linux 64-bit
Version: 6.4.4.2
Build ID: 6.4.4-1
CPU threads: 8; OS: Linux 5.6; UI render: default; VCL: kf5; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded

-- 
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/20200619/aeb25150/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list