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

--- Comment #2 from Kamil Landa <[email protected]> ---
Now I also discover it isn't bug :-). Now I'm testing in macro if oDoc IS
thisComponent


Sub macroBAD(optional oDoc as object) 'after click on button the atribute oDoc
is com.sun.star.awt.ActionEvent
        if IsMissing(oDoc) OR (NOT (oDoc IS thisComponent)) then
oDoc=thisComponent 'correct
        msgbox
oDoc.drawpage.getforms().getbyname("Form").getByName("buttonBAD").name 'error
after run from document
End Sub

-- 
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

Reply via email to