summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-02-03 13:43:59 +0100
committersb <sb@openoffice.org>2010-02-03 13:43:59 +0100
commit9052c35863c67ed02f7f2129a3262dadfd74d843 (patch)
tree219248b69eab6ac906f40ec792a6a8fb56956621 /shell
parentec0ee57607a1e8a800bb4809a0be6921df1f2e19 (diff)
sb118: additional main -> SAL_MAIN adaptions (to ensure osl_setCommandArgs is called)
Diffstat (limited to 'shell')
-rw-r--r--shell/source/tools/lngconvex/lngconvex.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx
index f605d6f340d9..0fa106a15aac 100644
--- a/shell/source/tools/lngconvex/lngconvex.cxx
+++ b/shell/source/tools/lngconvex/lngconvex.cxx
@@ -48,6 +48,7 @@
#include "osl/thread.h"
#include "osl/process.h"
#include "osl/file.hxx"
+#include "sal/main.h"
#include "tools/config.hxx"
#include "i18npool/mslangid.hxx"
@@ -568,7 +569,7 @@ void inflate_rc_template_to_file(
#define RC_HEADER(c) MAKE_ABSOLUTE((c).get_arg("-rch"))
#define RC_FOOTER(c) MAKE_ABSOLUTE((c).get_arg("-rcf"))
-int main(int argc, char* argv[])
+SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
{
try
{