diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-18 17:11:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-18 17:24:22 +0100 |
commit | 58d68a1bc9146334376206ae7ba8b1a6594a1040 (patch) | |
tree | 269d465b387964054dce91316b1d800dcc22e0e5 /unotools | |
parent | bdc3053067175eea4d30d5ca6d304366174c9316 (diff) |
ConvertURLToSystemPath->getSystemPathFromFileURL
Change-Id: I7dc0e1b596f80b8f0870aed1722f711bb287ec0a
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/ucbhelper/localfilehelper.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/unotools/source/ucbhelper/localfilehelper.cxx b/unotools/source/ucbhelper/localfilehelper.cxx index e8d82f21a623..b04dd2e11717 100644 --- a/unotools/source/ucbhelper/localfilehelper.cxx +++ b/unotools/source/ucbhelper/localfilehelper.cxx @@ -46,16 +46,6 @@ bool LocalFileHelper::ConvertSystemPathToURL( const OUString& rName, OUString& r return ok; } -bool LocalFileHelper::ConvertURLToSystemPath( const OUString& rName, OUString& rReturn ) -{ - bool ok = osl::FileBase::getSystemPathFromFileURL(rName, rReturn) - == osl::FileBase::E_None; - if (!ok) { - rReturn.clear(); - } - return ok; -} - bool LocalFileHelper::ConvertPhysicalNameToURL(const OUString& rName, OUString& rReturn) { bool ok = osl::FileBase::getFileURLFromSystemPath(rName, rReturn) |