https://bugs.documentfoundation.org/show_bug.cgi?id=132563
Regina Henschel <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|getByIndex of |Empty parameter of type
|css.drawing.ShapeCollection |variant does no longer work
|does no longer work |in sub
--- Comment #4 from Regina Henschel <[email protected]> ---
(In reply to himajin100000 from comment #1)
> the script does not work NOT BECAUSE getByIndex doesn't work BUT BECAUSE
> getSelectedShape_inWriter is called with nothing assigned to oShape(i.e.
> EMPTY) in examineShape_inWriterexamineShape_inWriter.
You are right. getByIndex is OK, but the parameter of sub is the problem.
So the problem is, that something was changed in parameter handling for sub.
REM ***** BASIC *****
option explicit
sub UserInput_bySub (aInput as variant)
aInput = InputBox("Enter something","Test of empty parameter as sub","write
here")
end sub
sub Echo_Input_bySub
dim oInput as variant: UserInput_bySub(oInput)
msgbox("You entered " & oInput)
end sub
That works in LibreOffice Version: 6.4.3.2 (x64), but does not work in Version:
7.0.0.0.alpha1+ (x64).
--
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