summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorHennes Rohling <hro@openoffice.org>2001-09-26 09:14:34 +0000
committerHennes Rohling <hro@openoffice.org>2001-09-26 09:14:34 +0000
commit6a4577a1c8e26c2752a344109a2b92c6abe314ee (patch)
tree407bc97d3a46945d03ef419952485d797ba392dc /sfx2
parentf04834a83cb3a0670a487e214ae699e0bb7f927a (diff)
#92406# Fix undone TF_FILEURL rquired changes
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/bastyp/helper.cxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx
index be497f7af267..370ed48110c3 100644
--- a/sfx2/source/bastyp/helper.cxx
+++ b/sfx2/source/bastyp/helper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: helper.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: pb $ $Date: 2001-08-22 09:54:45 $
+ * last change: $Author: hro $ $Date: 2001-09-26 10:14:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -965,21 +965,12 @@ sal_Bool SfxContentHelper::Find( const String& rFolder, const String& rName, Str
{
sal_Bool bRet = sal_False;
rtl::OUString aFile;
-#ifdef TF_FILEURL
+
if ( FileBase::searchFileURL( rName, rFolder, aFile ) == FileBase::E_None )
{
rFile = aFile;
bRet = sal_True;
}
-#else
- if ( FileBase::searchNormalizedPath( rName, rFolder, aFile ) == FileBase::E_None )
- {
- rtl::OUString aResult;
- FileBase::getFileURLFromNormalizedPath( aFile, aResult );
- rFile = aResult;
- bRet = sal_True;
- }
-#endif
return bRet;
}