diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-18 20:38:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-18 20:59:44 +0100 |
commit | 28f3464a571a23a2c16bd0980e9021b95d011511 (patch) | |
tree | e7bd251056f867b09971b1443575bcfa3c428583 /unotools | |
parent | 75a8b1cf84ac718aa1c8d671cd27b0b10307f50a (diff) |
ConvertSystemPathToURL->getFileURLFromSystemPath
Change-Id: I1c60c60f9b5318626f42e33091920a4404fb6d1c
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 b04dd2e11717..52fb3739cdd3 100644 --- a/unotools/source/ucbhelper/localfilehelper.cxx +++ b/unotools/source/ucbhelper/localfilehelper.cxx @@ -36,16 +36,6 @@ using namespace ::com::sun::star::ucb; namespace utl { -bool LocalFileHelper::ConvertSystemPathToURL( const OUString& rName, OUString& rReturn ) -{ - bool ok = osl::FileBase::getFileURLFromSystemPath(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) |