Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


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

Attachment: signature.asc
Description: Digital signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.