[Libreoffice-commits] core.git: desktop/source

Jan Holesovsky kendy at collabora.com
Mon Jul 6 06:57:31 PDT 2015


Hi Stephan,

Stephan Bergmann píše v Po 06. 07. 2015 v 12:06 +0200:

> I would just not go down the troubled road of attempting to support 
> whatever platform-specific file pathname notation in an interface 
> supposedly designed to take URLs (i.e., stop calling 
> osl::FileBase::getFileURLFromSystemPath on aURL), and then---if there is 
> indeed demand to support relative URLs in your interface---use 
> rtl::Uri::convertRelToAbs for reliable conversion, instead of resorting 
> to guesswork like indexOf("://").

Thanks for the hint! :-)  Pushed, 5.0 cherry-pick request here:

https://gerrit.libreoffice.org/16795 

All the best,
Kendy



More information about the LibreOffice mailing list