summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/localfilehelper.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-08-21 08:01:18 +0000
committerMathias Bauer <mba@openoffice.org>2001-08-21 08:01:18 +0000
commit1ef8ad411d3388af03e54575cb41d8c5cf7ca6c1 (patch)
treeff672fdec3974c7945faaf32152c9cb6326f9a84 /unotools/source/ucbhelper/localfilehelper.cxx
parent4280252836da27d770ea1341258fa945f256aa99 (diff)
#91027#: method for detecting file contents
Diffstat (limited to 'unotools/source/ucbhelper/localfilehelper.cxx')
-rw-r--r--unotools/source/ucbhelper/localfilehelper.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/unotools/source/ucbhelper/localfilehelper.cxx b/unotools/source/ucbhelper/localfilehelper.cxx
index 58a84ddafc46..432930aec956 100644
--- a/unotools/source/ucbhelper/localfilehelper.cxx
+++ b/unotools/source/ucbhelper/localfilehelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: localfilehelper.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: as $ $Date: 2001-07-25 10:09:16 $
+ * last change: $Author: mba $ $Date: 2001-08-21 09:01:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -204,6 +204,12 @@ sal_Bool LocalFileHelper::IsLocalFile( const String& rName )
return ConvertURLToPhysicalName( rName, aTmp );
}
+sal_Bool LocalFileHelper::IsFileContent( const String& rName )
+{
+ String aTmp;
+ return ConvertURLToSystemPath( rName, aTmp );
+}
+
DECLARE_LIST( StringList_Impl, ::rtl::OUString* )
::com::sun::star::uno::Sequence < ::rtl::OUString > LocalFileHelper::GetFolderContents( const ::rtl::OUString& rFolder, sal_Bool bFolder )