summaryrefslogtreecommitdiff
path: root/l10ntools/inc
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 /l10ntools/inc
parent854ff7bfc802d47d2a7419f7185af069a216b0bd (diff)
convert vos/process.hxx and related API
Diffstat (limited to 'l10ntools/inc')
-rw-r--r--l10ntools/inc/l10ntools/vosapp.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/l10ntools/inc/l10ntools/vosapp.hxx b/l10ntools/inc/l10ntools/vosapp.hxx
index 937994fc5eb7..e45840b4f9df 100644
--- a/l10ntools/inc/l10ntools/vosapp.hxx
+++ b/l10ntools/inc/l10ntools/vosapp.hxx
@@ -5,7 +5,6 @@
#include <sal/main.h>
#include <tools/solar.h>
#include <tools/string.hxx>
-#include <vos/process.hxx>
// Mininmal vcl/svapp compatibility without vcl dependence
class Application
@@ -19,15 +18,13 @@ public:
// Urg: Cut & Paste from svapp.cxx: we don't want to depend on vcl
USHORT Application::GetCommandLineParamCount()
{
- vos::OStartupInfo aStartInfo;
- return (USHORT)aStartInfo.getCommandArgCount();
+ return osl_getCommandArgCount();
}
XubString Application::GetCommandLineParam( USHORT nParam )
{
- vos::OStartupInfo aStartInfo;
rtl::OUString aParam;
- aStartInfo.getCommandArg( nParam, aParam );
+ osl_getCommandArg( nParam, &aParam.pData );
return XubString( aParam );
}