summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cui/source/options/optpath.cxx2
-rw-r--r--include/unotools/localfilehelper.hxx1
-rw-r--r--unotools/source/ucbhelper/localfilehelper.cxx6
3 files changed, 0 insertions, 9 deletions
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 7468c7557dd0..6b985e73c876 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -154,8 +154,6 @@ OUString Convert_Impl( const OUString& rValue )
INetURLObject aObj( aValue );
if ( aObj.GetProtocol() == INetProtocol::File )
aReturn += aObj.PathToFileName();
- else if ( ::utl::LocalFileHelper::IsFileContent( aValue ) )
- aReturn += aObj.GetURLPath( INetURLObject::DECODE_WITH_CHARSET );
if ( i+1 < nCount)
aReturn += OUStringLiteral1<MULTIPATH_DELIMITER>();
}
diff --git a/include/unotools/localfilehelper.hxx b/include/unotools/localfilehelper.hxx
index 84d5a88994ab..3530dc4981ad 100644
--- a/include/unotools/localfilehelper.hxx
+++ b/include/unotools/localfilehelper.hxx
@@ -47,7 +47,6 @@ namespace utl
static bool ConvertURLToSystemPath( const OUString& rName, OUString& rReturn );
static bool IsLocalFile(const OUString& rName);
- static bool IsFileContent(const OUString& rName);
static ::com::sun::star::uno::Sequence< OUString >
GetFolderContents( const OUString& rFolder, bool bFolder );
diff --git a/unotools/source/ucbhelper/localfilehelper.cxx b/unotools/source/ucbhelper/localfilehelper.cxx
index 3efc99b7ee36..d1897a352c48 100644
--- a/unotools/source/ucbhelper/localfilehelper.cxx
+++ b/unotools/source/ucbhelper/localfilehelper.cxx
@@ -82,12 +82,6 @@ bool LocalFileHelper::IsLocalFile(const OUString& rName)
return ConvertURLToPhysicalName(rName, aTmp);
}
-bool LocalFileHelper::IsFileContent(const OUString& rName)
-{
- OUString aTmp;
- return ConvertURLToSystemPath(rName, aTmp);
-}
-
typedef ::std::vector< OUString* > StringList_Impl;
::com::sun::star::uno::Sequence < OUString > LocalFileHelper::GetFolderContents( const OUString& rFolder, bool bFolder )