summaryrefslogtreecommitdiff
path: root/svtools/source/config/pathoptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/config/pathoptions.cxx')
-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;
}
}