diff options
Diffstat (limited to 'unotools/source/ucbhelper/localfilehelper.cxx')
-rw-r--r-- | unotools/source/ucbhelper/localfilehelper.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/unotools/source/ucbhelper/localfilehelper.cxx b/unotools/source/ucbhelper/localfilehelper.cxx index bf4627378df4..9afcd8a33f41 100644 --- a/unotools/source/ucbhelper/localfilehelper.cxx +++ b/unotools/source/ucbhelper/localfilehelper.cxx @@ -36,26 +36,6 @@ using namespace ::com::sun::star::ucb; namespace utl { -bool LocalFileHelper::ConvertPhysicalNameToURL(const OUString& rName, OUString& rReturn) -{ - bool ok = osl::FileBase::getFileURLFromSystemPath(rName, rReturn) - == osl::FileBase::E_None; - if (!ok) { - rReturn.clear(); - } - return ok; -} - -bool LocalFileHelper::ConvertURLToPhysicalName(const OUString& rName, OUString& rReturn) -{ - bool ok = osl::FileBase::getSystemPathFromFileURL(rName, rReturn) - == osl::FileBase::E_None; - if (!ok) { - rReturn.clear(); - } - return ok; -} - bool LocalFileHelper::IsFileUrl(const OUString& rUrl) { return rUrl.startsWithIgnoreAsciiCase("file:"); |