diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2002-01-16 15:24:14 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2002-01-16 15:24:14 +0000 |
commit | 5fdb6783a48e102d05de968dbc34246883d8ebda (patch) | |
tree | 7d8f36c89b73a53f93154b844a275e003079fa1a /cppuhelper/source/bootstrap.cxx | |
parent | b48290f5101b35457499c24adb39b7d502b499bd (diff) |
#96588# bootstrap-variable pathes are now interpreted relative to the current working directory
Diffstat (limited to 'cppuhelper/source/bootstrap.cxx')
-rw-r--r-- | cppuhelper/source/bootstrap.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cppuhelper/source/bootstrap.cxx b/cppuhelper/source/bootstrap.cxx index 105df381d3e9..256b4b08fe47 100644 --- a/cppuhelper/source/bootstrap.cxx +++ b/cppuhelper/source/bootstrap.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bootstrap.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: dbo $ $Date: 2002-01-11 10:06:02 $ + * last change: $Author: jbu $ $Date: 2002-01-16 16:24:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -376,8 +376,8 @@ Reference< XComponentContext > SAL_CALL defaultBootstrap_InitialComponentContext OUString bootstrapPath; OUString iniDir; Bootstrap bootstrap( iniFile ); - bootstrap.getIniName(iniDir); - iniDir = iniDir.copy(0, iniDir.lastIndexOf('/')); + + osl_getProcessWorkingDir(&iniDir.pData); Reference<lang::XMultiComponentFactory> smgr_XMultiComponentFactory( bootstrapInitialSF(bootstrapPath) ); |