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

--- Comment #6 from Katarina Behrens (CIB) <[email protected]> ---
This is the problematic part of TeXMaths and also a minimal macro that can be
used as a testcase reproducing the bug:

<code>
Sub Main
        ' Import the graphic from URL into a new draw document
        Dim arg1(0) as New com.sun.star.beans.PropertyValue

        Dim oDrawDoc as Variant, oDrawDocCtrl as Variant
        arg1(0).Name = "Hidden"
        arg1(0).Value = TRUE

        oDrawDoc =
StarDesktop.loadComponentFromURL("file:///home/bubli/Pictures/bubli.svg",
"_blank", 0, arg1() )
        oDrawDocCtrl = oDrawDoc.getCurrentController

End Sub
</code>

oDrawDoc is empty b/c loadComponentFromURL fails with *any* SVG file. However,
comment out 'Hidden' attribute and it magically starts to work again.

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