[Libreoffice-bugs] [Bug 92770] thisComponent is not valid during "Open Document" at startup in non-document macro

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 10 07:27:39 UTC 2019


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

--- Comment #16 from Buovjaga <todventtu at suomi24.fi> ---
(In reply to Lionel Elie Mamane from comment #15)
> Reproduced on 6.3.0.4 (Debian package).
> I think you didn't follow the following step in the reproduction
> instructions:
> 
> Put in "My Macros" the following (beware bugzilla's word wrap):
> 
> Sub showThisComponent
> 	MsgBox "Macro in ""My Macros"": " & _
>            
> thisComponent.supportsService("com.sun.star.document.OfficeDocument")
> End Sub

You are right, I repro as well after doing this.

-- 
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/20190810/f1a54f9b/attachment.html>


More information about the Libreoffice-bugs mailing list