https://bugs.documentfoundation.org/show_bug.cgi?id=169473
Bug ID: 169473
Summary: GetPathSeparator()
Product: LibreOffice
Version: 25.8.2.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
In Win11 when I use Basic to get the file path the outcome is similar to
"file:///C:/Users/user/OneDrive/Documents/JustInvoice/Invoices/Invoice7-ACME.ods"
then when you use the GetPathSeparator() function you get "\" as outcome and
the code doesn't recognize the path and get the wrong information
Steps to Reproduce:
1.I used CreateNewInvoice.ots complement and got a new invoice
2.I used "MakePdf" button from the file
3.I got the error cause the path is misunderstood
Actual Results:
Error on Windows 11 success on Ubuntu
Expected Results:
Succes on both
Reproducible: Always
User Profile Reset: No
Additional Info:
To get success on Windows, I must modify the code to provide the "/" manually
to the GetFileNameWithoutExtension() function instead of call the
GetPathSeparator() function on Windows 11
--
You are receiving this mail because:
You are the assignee for the bug.