summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-05-04 09:10:45 +0200
committersb <sb@openoffice.org>2010-05-04 09:10:45 +0200
commit6760a8ba3bebd3f52564587209b676ee9290ffae (patch)
tree7bfe7e35939d02c90139f508b0516c4bc9521d68 /sal/rtl
parent81d591252eca4d2e6a819d7f8ab948298a239c28 (diff)
sb122: #i110905# removed unnecessary getAbsoluteFileURL calls
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/source/bootstrap.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx
index a0bd0cc2b..95cf3a460 100644
--- a/sal/rtl/source/bootstrap.cxx
+++ b/sal/rtl/source/bootstrap.cxx
@@ -281,10 +281,6 @@ static OUString & getIniFileName_Impl()
fileName += OUString(RTL_CONSTASCII_USTRINGPARAM(SAL_CONFIGFILE("")));
}
- OUString workDir;
- osl_getProcessWorkingDir(&workDir.pData);
- osl::FileBase::getAbsoluteFileURL(workDir, fileName, fileName);
-
static OUString theFileName;
if(fileName.getLength())
theFileName = fileName;
@@ -653,12 +649,8 @@ rtlBootstrapHandle SAL_CALL rtl_bootstrap_args_open (
rtl_uString * pIniName
) SAL_THROW_EXTERN_C()
{
- OUString workDir;
OUString iniName( pIniName );
- osl_getProcessWorkingDir( &workDir.pData );
- osl::FileBase::getAbsoluteFileURL( workDir, iniName, iniName );
-
// normalize path
FileStatus status( FileStatusMask_FileURL );
DirectoryItem dirItem;