https://bugs.documentfoundation.org/show_bug.cgi?id=152917

            Bug ID: 152917
           Summary: Regression: ConvertFromUrl() returns an empty string
                    in LibreOffice 7.5.0.1
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

In LibreOffice 7.5.0.1, the ConvertFromUrl() function returns an empty string
instead of doing the conversion from URL to path. This breaks the TexMaths
extension.

To reproduce, run the following macro:

REM  *****  BASIC  *****

Sub Main

Dim str1 as String
Dim str2 as String

str1 = "file:///home/roland/test.txt"

msgbox str1

str2 =  ConvertFromURL(str1)

msgbox str2

End Sub

In LibreOffice 7.4.2.3, string str2 is equal to "/home/roland/test.txt", as
expected.

In LibreOffice 7.5.0.1, string str2 is empty.


LibreOffice 7.4.2.3
====================
Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 2; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu package version: 1:7.4.2~rc3-0ubuntu1
Calc: threaded

LibreOffice 7.5.0.1
===================
Version: 7.5.0.1 (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 2; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded

System
======
Ubuntu 22.10 64 bits (running in A VM, fresh install, fresh LibreOffice
profile)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to