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 /vcl/unx/kde | |
parent | 854ff7bfc802d47d2a7419f7185af069a216b0bd (diff) |
convert vos/process.hxx and related API
Diffstat (limited to 'vcl/unx/kde')
-rw-r--r-- | vcl/unx/kde/kdedata.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/vcl/unx/kde/kdedata.cxx b/vcl/unx/kde/kdedata.cxx index 9c4f43fc9db7..aeac873aea5f 100644 --- a/vcl/unx/kde/kdedata.cxx +++ b/vcl/unx/kde/kdedata.cxx @@ -50,12 +50,11 @@ #include <osl/thread.h> #include <osl/process.h> #include <osl/module.h> +#include <osl/mutex.hxx> #include <tools/debug.hxx> #include "i18n_im.hxx" #include "i18n_xkb.hxx" -#include <vos/process.hxx> -#include <osl/mutex.hxx> /* #i59042# override KApplications method for session management * since it will interfere badly with our own. @@ -137,17 +136,16 @@ void KDEXLib::Init() m_nFakeCmdLineArgs = 1; USHORT nIdx; - vos::OExtCommandLine aCommandLine; - int nParams = aCommandLine.getCommandArgCount(); + int nParams = osl_getCommandArgCount(); rtl::OString aDisplay; rtl::OUString aParam, aBin; for ( nIdx = 0; nIdx < nParams; ++nIdx ) { - aCommandLine.getCommandArg( nIdx, aParam ); + osl_getCommandArg( nIdx, &aParam.pData ); if ( !m_pFreeCmdLineArgs && aParam.equalsAscii( "-display" ) && nIdx + 1 < nParams ) { - aCommandLine.getCommandArg( nIdx + 1, aParam ); + osl_getCommandArg( nIdx + 1, &aParam.pData ); aDisplay = rtl::OUStringToOString( aParam, osl_getThreadTextEncoding() ); m_nFakeCmdLineArgs = 3; |