summaryrefslogtreecommitdiff
path: root/l10ntools/source/helpex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/helpex.cxx')
-rw-r--r--l10ntools/source/helpex.cxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/l10ntools/source/helpex.cxx b/l10ntools/source/helpex.cxx
index d966dc648273..d7cf2127ef9d 100644
--- a/l10ntools/source/helpex.cxx
+++ b/l10ntools/source/helpex.cxx
@@ -33,7 +33,8 @@
#include <stdio.h>
#include <stdlib.h>
-// local includes
+#include "sal/main.h"
+
#include "helpmerge.hxx"
// defines to parse command line
@@ -185,14 +186,7 @@ void Help()
/*****************************************************************************/
#ifndef TESTDRIVER
-#if defined(UNX)
-int main( int argc, char *argv[] )
-#else
-int _cdecl main( int argc, char *argv[] )
-#endif
-/*****************************************************************************/
-{
-
+SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
if ( !ParseCommandLine( argc, argv )) {
Help();
return 1;