summaryrefslogtreecommitdiff
path: root/svtools/source/config
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2001-08-17 14:35:11 +0000
committerjp <jp@openoffice.org>2001-08-17 14:35:11 +0000
commitb9f152bc1af527099f649d8fd058cae9a6ec3d88 (patch)
tree80de0d27da8cea7a88ff9e07376d0ff6c6f0ecab /svtools/source/config
parent1b0dcfb7a265cb4d6211a5ee589fd1fd5d719db7 (diff)
Bug #91248#: SearchFile - call ConvertURLToPhysicalName
Diffstat (limited to 'svtools/source/config')
-rw-r--r--svtools/source/config/pathoptions.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/svtools/source/config/pathoptions.cxx b/svtools/source/config/pathoptions.cxx
index 01960e87a33b..5ba22e17887f 100644
--- a/svtools/source/config/pathoptions.cxx
+++ b/svtools/source/config/pathoptions.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pathoptions.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: as $ $Date: 2001-07-25 10:10:31 $
+ * last change: $Author: jp $ $Date: 2001-08-17 15:35:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1471,9 +1471,11 @@ sal_Bool SvtPathOptions::SearchFile( String& rIniFile, Pathes ePath )
if ( bRet )
{
- rIniFile = aObj.GetMainURL();
if ( !bIsURL )
- ::utl::LocalFileHelper::ConvertURLToPhysicalName( rIniFile, rIniFile );
+ ::utl::LocalFileHelper::ConvertURLToPhysicalName(
+ aObj.GetMainURL(), rIniFile );
+ else
+ rIniFile = aObj.GetMainURL();
break;
}
}