Hi, On Thu, Oct 11, 2018 at 05:12:50AM -0700, Pusteblumi <benbignoise@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 wroteBut 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
Attachment:
signature.asc
Description: Digital signature