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

--- Comment #2 from Klaus Blum <[email protected]> ---
Up to the line that causes the error, the code is exactly the same as for
Writer. 
Here it is: 

Function ImportBitmapIntoDraw(sURL As String, Optional oGraphicShape) As Object
        ' Imports a bitmap into Draw or Impress
        Dim oBitmaps As Object
        Dim sNewUrl
        Dim oDoc As Object

        oDoc = ThisComponent

        oBitmaps = oDoc.createInstance("com.sun.star.drawing.BitmapTable")
        If oBitmaps.hasByName( "OOoLilyPond" ) Then
                oBitmaps.removeByName( "OOoLilyPond" )
        End If
        oBitmaps.insertByName( "OOoLilyPond", ConvertToURL(sURL) )
        ' sURL contains a valid path to a SVG graphic file

        ' Here the "incorrect property value" error will occur: 
        sNewURL = oBitmaps.getByName( "OOoLilyPond" )

        ' do some more stuff...
End Function

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