[Libreoffice-bugs] [Bug 128218] FunctionAccess.callFunction returns object type where 'Double' result is expected.
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 22 16:25:06 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=128218
Eike Rathke <erack at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.documentfounda
| |tion.org/show_bug.cgi?id=11
| |8624
Component|BASIC |Calc
--- Comment #4 from Eike Rathke <erack at redhat.com> ---
A tad unfortunate.. callFunction() per default is executed in array mode, you
can change that by setting the com.sun.star.sheet.FunctionAccess property
IsArrayFunction to false. See
https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1sheet_1_1FunctionAccess.html#a7f24813b5c506f8f0d3eb81f864c741e
Nevertheless, we maybe could let RAND() return a scalar double even in array
mode if a 1x1 matrix is hit, for better backwards compatibility.
--
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/20191022/09d484b9/attachment.html>
More information about the Libreoffice-bugs
mailing list