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/kde4/KDEXLib.cxx | |
parent | 854ff7bfc802d47d2a7419f7185af069a216b0bd (diff) |
convert vos/process.hxx and related API
Diffstat (limited to 'vcl/unx/kde4/KDEXLib.cxx')
-rw-r--r-- | vcl/unx/kde4/KDEXLib.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/kde4/KDEXLib.cxx b/vcl/unx/kde4/KDEXLib.cxx index f4519b301c99..a7ac4547ef67 100644 --- a/vcl/unx/kde4/KDEXLib.cxx +++ b/vcl/unx/kde4/KDEXLib.cxx @@ -47,7 +47,7 @@ #include <i18n_xkb.hxx> #include <saldata.hxx> -#include <vos/process.hxx> +#include <osl/process.h> #include "KDESalDisplay.hxx" @@ -133,17 +133,17 @@ void KDEXLib::Init() m_nFakeCmdLineArgs = 2; 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_pFreeCmdLineArgs = new char*[ m_nFakeCmdLineArgs + 2 ]; |