Hi Klaus, > ' Load the image into the internal bitmap table: > oBitmaps.insertByName( "OOoLilyPond", ConvertToURL(sFile) ) ' Up to > here, > everything works fine. > sNewURL = oBitmaps.getByName( "OOoLilyPond" ) ' This line causes the > error.
So the error is one row above. Have tried it with xray. There isn't any element in the bitmap table, so you can't get the element. Then I downloaded the API for LO 6.1 and looked for insertByName in bitmap table - nothing changed here. But the release-notes for 6.1 about image-handling could be an entry for looking for the buggy behavior: https://wiki.documentfoundation.org/ReleaseNotes/6.1#Images_2 Put the part of the code in a writer-document and report this as a bug. I could confirm the buggy behavior. Regards Robert -- Homepage: http://robert.familiegrosskopf.de LibreOffice Community: http://robert.familiegrosskopf.de/map_3 -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy