Hi caolan

> Can you attach a demo ?
> 

here is a macro showing the problem
just change the myFile.ods so that it points to a file of your filestem

Laurent

Sub testLoad

        url = "/home/lgodard/myFile.ods"
        
        url1 = convertToUrl(url) 'starts with file://
        aDoc1 = StarDesktop.loadComponentFromUrl(url1, "_blank", 0, array() )
        
        print "aDoc1 is loaded"

        ' now crash
        aDoc2 = StarDesktop.loadComponentFromUrl(url, "_blank", 0, array() )

End Sub
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to