[Libreoffice-bugs] [Bug 142041] New "Files > Properties > General > Location" link feature doesn't work on Windows

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri May 14 08:49:09 UTC 2021


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

--- Comment #4 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Heiko Tietze from comment #3)
> Mike, I suspect set_uri("file://" + aText); is not working on Windows.

Oh of course this is wrong on any platform, and may work on *nix just by
chance, and not always. The proper way would be *converting* a system path to
URL, e.g. using osl::FileBase::getFileURLFromSystemPath.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210514/ff8e91eb/attachment.htm>


More information about the Libreoffice-bugs mailing list