summaryrefslogtreecommitdiff
path: root/desktop/unx/splash
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-21 15:34:02 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 19:55:34 -0500
commit119873328acd70ca3569c21a0b1fe36277e8bf4c (patch)
treed4f07cf14521a880eb69a25208af8b817aa94b55 /desktop/unx/splash
parent6cd025d44e9464716c8645f435966baca4caf921 (diff)
convert vos/process.hxx and related API
Diffstat (limited to 'desktop/unx/splash')
-rw-r--r--desktop/unx/splash/unxsplash.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/desktop/unx/splash/unxsplash.cxx b/desktop/unx/splash/unxsplash.cxx
index edb3603d8c39..710d326c683b 100644
--- a/desktop/unx/splash/unxsplash.cxx
+++ b/desktop/unx/splash/unxsplash.cxx
@@ -28,7 +28,7 @@
#include "unxsplash.hxx"
#include <stdio.h>
#include <unotools/bootstrap.hxx>
-#include <vos/process.hxx>
+#include <osl/process.h>
#include <tools/urlobj.hxx>
#include <tools/stream.hxx>
#include <sfx2/sfx.hrc>
@@ -107,11 +107,10 @@ void SAL_CALL
UnxSplashScreen::initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any>& aArguments )
throw ( RuntimeException )
{
- ::vos::OStartupInfo aInfo;
- for ( sal_uInt32 i = 0; i < aInfo.getCommandArgCount(); i++ )
+ for ( sal_uInt32 i = 0; i < osl_getCommandArgCount(); i++ )
{
rtl::OUString aArg;
- if ( aInfo.getCommandArg( i, aArg ) )
+ if ( osl_getCommandArg( i, &aArg.pData ) )
break;
if ( aArg.matchIgnoreAsciiCaseAsciiL( PIPE_ARG, sizeof( PIPE_ARG ) - 1, 0 ) )
{