diff options
author | sb <sb@openoffice.org> | 2010-02-03 13:43:59 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-02-03 13:43:59 +0100 |
commit | 954da1067458684f2bac0712caa0cb7fd3726b14 (patch) | |
tree | 97393181fae455b10e7b653a58d3fbb2ce2e768a /shell | |
parent | dbb3f34b54f2451e7b85d6b7fddba65cd22834c8 (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.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx index bc15796b25..4188b712b3 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 { |