summaryrefslogtreecommitdiff
path: root/vcl/test
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-21 15:46:17 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 19:55:38 -0500
commit08be4cfe51342b5b08511951b9c5ff13b3eeee8d (patch)
tree9a5394379bda57ec3d52f499a71898da0aea995f /vcl/test
parent854ff7bfc802d47d2a7419f7185af069a216b0bd (diff)
convert vos/process.hxx and related API
Diffstat (limited to 'vcl/test')
-rw-r--r--vcl/test/dndtest.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/vcl/test/dndtest.cxx b/vcl/test/dndtest.cxx
index ecca58011c49..31bc02ffd8ef 100644
--- a/vcl/test/dndtest.cxx
+++ b/vcl/test/dndtest.cxx
@@ -45,7 +45,7 @@
#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hpp>
#include <com/sun/star/datatransfer/dnd/XDragGestureRecognizer.hpp>
#include <com/sun/star/datatransfer/dnd/XDragGestureListener.hpp>
-#include <vos/process.hxx>
+#include <osl/process.h>
#include <stdio.h>
@@ -156,18 +156,17 @@ public:
void MyApp::Main()
{
OUString aRegistry;
- OStartupInfo aInfo;
- for( sal_Int32 n = 0, nmax = aInfo.getCommandArgCount(); n < nmax; n++ )
+ for( sal_Int32 n = 0, nmax = osl_getCommandArgCount(); n < nmax; n++ )
{
OUString aArg;
- aInfo.getCommandArg( n, aArg );
+ osl_getCommandArg( n, &aArg.pData );
if( aArg.compareTo( OUString::createFromAscii( "-r" ), 2 ) == 0 )
{
if ( n + 1 < nmax )
- aInfo.getCommandArg( ++n, aRegistry );
+ osl_getCommandArg( ++n, &aRegistry.pData );
}
}