From 2b11dee4847dc21a0ce54224815468307a5d0eb2 Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Mon, 25 Jan 2016 17:48:15 +0100 Subject: MM: correctly handle directory in dialog For convenience we present file URLs in the systems local file notation. But the directory selection dialog expects an URL, so we have to convert the local notation from the edit entry to a file URL. Change-Id: Idff6f7d4b135eef087c61560b0603b9a6669dbf7 --- include/unotools/pathoptions.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/unotools/pathoptions.hxx b/include/unotools/pathoptions.hxx index 1b311ec5aef6..2784f8cb83df 100644 --- a/include/unotools/pathoptions.hxx +++ b/include/unotools/pathoptions.hxx @@ -25,9 +25,12 @@ #define SVT_SEARCHPATH_DELIMITER ';' -// class SvtPathOptions -------------------------------------------------- - class SvtPathOptions_Impl; + +/*! Handle various defined paths + + All path functions return URLs! +*/ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtPathOptions : public utl::detail::Options { private: -- cgit