API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

Miklos Vajna vmiklos at collabora.co.uk
Thu Oct 11 12:22:49 UTC 2018


Hi,

On Thu, Oct 11, 2018 at 05:12:50AM -0700, Pusteblumi <benbignoise at gmx.de> wrote:
>       Dim sNewUrl As String
>       sNewURL = oBitmaps.getByName( "OOoLilyPond" )   
> but as soon as I declare sNewUrl as "Object" instead of "String", it works
> now. (This was not yet the case in 6.1.1.)
> 
> 
> Miklos Vajna-4 wrote
> > But as said before, your code should work as-is unchanged for
> > compatibility reasons; if it doesn't, it's a bug to be fixed.
> 
> Would it be possible to get the "old" code working despite the "wrong"
> String type? If not, it would require different macro versions for different
> LO releases. 

Isn't it an option to just not declare the type? Basic is not a
statically typed language after all.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20181011/fbebf8b3/attachment.sig>


More information about the LibreOffice mailing list