https://issues.apache.org/ooo/show_bug.cgi?id=119402

Ariel Constenla-Haile <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Ariel Constenla-Haile <[email protected]> ---
(In reply to comment #0)
> It seems this problem is caused by lacking of spinning images from
> images.zip.

You are right: those images are not on the zip file, and the GraphicProvider
(used in the toolkit code to retrieve the images, fails):

Sub Main
    Dim oGraphicProvider as Object
    oGraphicProvider = CreateUnoService("com.sun.star.graphic.GraphicProvider")

    oGraphic = GetGraphic(oGraphicProvider,
"private:graphicrepository/toolkit/tk/spinner03-grey_11.png")
    oGraphic = GetGraphic(oGraphicProvider,
"private:graphicrepository/shared/spinner-32-01.png")
End Sub

Function GetGraphic(oProvider as Object, sURL$)
    Dim aMediaProps(0) as new com.sun.star.beans.PropertyValue
    aMediaProps(0).Name  = "URL"
    aMediaProps(0).Value = sURL
    GetGraphic = oProvider.queryGraphic(aMediaProps)
End Function

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to