diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-02-10 10:44:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-10 10:45:58 +0100 |
commit | 718ce84a06f18a3000d23287a2238a5a5299627a (patch) | |
tree | 5e445f530282a323b9aa75b78376209ecc3ab941 /l10ntools/source/help | |
parent | 71530f9cb01ade01505f4a5418fed28af76c8429 (diff) |
Various more l10ntools clean up
"localize" is now directly a C++ program w/o wrapper script. Also,
its command line has changed slightly, taking the source root as
explicit argument (instead of implicitly as cwd).
Diffstat (limited to 'l10ntools/source/help')
-rw-r--r-- | l10ntools/source/help/HelpLinker.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/help/HelpLinker.cxx b/l10ntools/source/help/HelpLinker.cxx index bf237c0e8ca8..8cbc2142ff4a 100644 --- a/l10ntools/source/help/HelpLinker.cxx +++ b/l10ntools/source/help/HelpLinker.cxx @@ -43,6 +43,7 @@ #include <libxslt/functions.h> #include <libxslt/extensions.h> +#include <sal/main.h> #include <sal/types.h> #include <osl/time.h> #include <rtl/bootstrap.hxx> @@ -1024,8 +1025,7 @@ void HelpLinker::main( std::vector<std::string> &args, link(); } -int main(int argc, char**argv) -{ +SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { std::vector<std::string> args; for (int i = 1; i < argc; ++i) args.push_back(std::string(argv[i])); |