Kaydet (Commit) 95494330 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Get rid of obsolete LocalFileHelper::IsFileContent

vnd.sun.star.wfs is long gone---or what else could this have been used for?

Change-Id: If39c9bdcb983f94206e0f58b7e1e8410fdcef089
üst 8ead1423
......@@ -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>();
}
......
......@@ -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 );
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment