libreoffice 7 base does not require an absolute url to display a file

until LO 6.4.5 I used the following macro in a base program to open a file stored in Server.
sub open_file
oform = thisComponent.drawpage.forms.MainForm
surl = convertToUrl(oform.getstring(oform.findcolumn(“URL”))) ‘works until LO 6.4.5
rem surl = (oform.getstring(oform.findcolumn(“URL”))) works with LO 7
if surl = “” then
msgbox (“No Url found”,16,“Error”)
exit sub
oShell = createUnoService(“”)
end sub

When I installed LO 7 , running the above macro I got a message saying that file name is incorrect. When I removed convertToUrl ,as shown above everything worked OK. I removed convertToUrl from all macros and it worked.
The file name is stored in a table with columnname “URL” as Z:\MYFILENAME.odt where Z: is the name for the map network drive.
Is it an issue of Lo 7.0.0?
OS win 10pro update 2004.
thank you in advance

A code like

oShell = createUnoService("")

works fine here using LO (and also works fine when I remove the convertToUrl, which is OK, since you call shell’s Open function, i.e. it’s the system shell that is handling your command line, and it is expected to be able to handle system path syntax).


Version: (x64)
Build ID: a5f37289f3fae592dd19a7d0e9a734194195b3f5
CPU threads: 12; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

It doesn’t work with convertToUrl with LO (x64) , win 10 pro/2004/ build 19041.450.