diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-21 15:46:17 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 19:55:38 -0500 |
commit | 08be4cfe51342b5b08511951b9c5ff13b3eeee8d (patch) | |
tree | 9a5394379bda57ec3d52f499a71898da0aea995f /tools | |
parent | 854ff7bfc802d47d2a7419f7185af069a216b0bd (diff) |
convert vos/process.hxx and related API
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/pch/precompiled_tools.hxx | 2 | ||||
-rw-r--r-- | tools/source/testtoolloader/testtoolloader.cxx | 10 |
2 files changed, 4 insertions, 8 deletions
diff --git a/tools/inc/pch/precompiled_tools.hxx b/tools/inc/pch/precompiled_tools.hxx index 60ab99762cc6..dfed2ac7d4f6 100644 --- a/tools/inc/pch/precompiled_tools.hxx +++ b/tools/inc/pch/precompiled_tools.hxx @@ -87,8 +87,6 @@ #include "sys/stat.h" #include "sys/types.h" -#include "osl/mutex.hxx" -#include "vos/process.hxx" //---MARKER--- #endif diff --git a/tools/source/testtoolloader/testtoolloader.cxx b/tools/source/testtoolloader/testtoolloader.cxx index 5944801f4432..22cddf65673c 100644 --- a/tools/source/testtoolloader/testtoolloader.cxx +++ b/tools/source/testtoolloader/testtoolloader.cxx @@ -32,7 +32,7 @@ #include "tools/testtoolloader.hxx" #include <osl/module.h> #include <rtl/logfile.hxx> -#include <vos/process.hxx> +#include <osl/process.h> #include "tools/solar.h" #include "tools/string.hxx" #include "tools/debug.hxx" @@ -57,16 +57,14 @@ static bool bLoggerStarted = false; sal_uInt32 GetCommandLineParamCount() { - vos::OStartupInfo aStartInfo; - return aStartInfo.getCommandArgCount(); + return osl_getCommandArgCount(); } String GetCommandLineParam( sal_uInt32 nParam ) { - vos::OStartupInfo aStartInfo; ::rtl::OUString aParam; - vos::OStartupInfo::TStartupError eError = aStartInfo.getCommandArg( nParam, aParam ); - if ( eError == vos::OStartupInfo::E_None ) + oslProcessError eError = osl_getCommandArg( nParam, &aParam.pData ); + if ( eError == osl_Process_E_None ) return String( aParam ); else { |