https://bugs.documentfoundation.org/show_bug.cgi?id=133913
Bug ID: 133913
Summary: Passing a constant to a Basic function changes variant
parameter type to integer
Product: LibreOffice
Version: 7.0.0.0.beta1+
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 161901
--> https://bugs.documentfoundation.org/attachment.cgi?id=161901&action=edit
A test case for broken parameter-type inference
When a Basic function has a parameter without a specified type, its type is
automatically set to variant. However, passing an integer constant as the value
of such parameter makes its type integer rather than variant/integer.
This is a change in LO 7.0 beta1 compared to LO 6.4 and I'm pretty sure its a
bug.
I'm reporting it, because it actually broke some macros I use in production.
A document with a test-case macro is attached.
This bug may be related to
https://bugs.documentfoundation.org/show_bug.cgi?id=132563 but I don't think
it's the exact same thing.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs