diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-19 10:43:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-19 10:48:42 +0200 |
commit | 236714e86c1c517d84d38395efabaf6e3793d196 (patch) | |
tree | 32c17d639ef464fba371d7d3a02afac18af8bfdb /include/unotools | |
parent | e87c08babed9e3ac34908771fc95cab5386f01a2 (diff) |
Clean up remaining utl::LocalFileHelper::Convert...
together with 58d68a1bc9146334376206ae7ba8b1a6594a1040
"ConvertURLToSystemPath->getSystemPathFromFileURL" and
28f3464a571a23a2c16bd0980e9021b95d011511
"ConvertSystemPathToURL->getFileURLFromSystemPath," this replaces all those
Convert... functionality with direct calls to the corresponding osl::FileBase
functions.
Change-Id: I2876171cd337a5eb939d25d8cf1e0c1253ff73a7
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/localfilehelper.hxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/unotools/localfilehelper.hxx b/include/unotools/localfilehelper.hxx index d53115bfcee5..7c1be21b7e5c 100644 --- a/include/unotools/localfilehelper.hxx +++ b/include/unotools/localfilehelper.hxx @@ -29,21 +29,6 @@ namespace utl class UNOTOOLS_DLLPUBLIC LocalFileHelper { public: - /** - Converts a "physical" file name into a "UCB compatible" URL ( if possible ). - If no UCP is available for the local file system, sal_False and an empty URL is returned. - Returning sal_True and an empty URL means that the URL doesn't point to a local file. - */ - static bool ConvertPhysicalNameToURL(const OUString& rName, OUString& rReturn); - - /** - Converts a "UCB compatible" URL into a "physical" file name. - If no UCP is available for the local file system, sal_False and an empty file name is returned, - otherwise sal_True and a valid URL, because a file name can always be converted if a UCP for the local - file system is present ( watch: this doesn't mean that this file really exists! ) - */ - static bool ConvertURLToPhysicalName( const OUString& rName, OUString& rReturn ); - static bool IsFileUrl(const OUString& rUrl); static ::com::sun::star::uno::Sequence< OUString > |