shell/source/tools/lngconvex/lngconvex.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit b0126a2ea297c692214ec11302d2a7b3cf70edde Author: LuboÅ¡ LuÅák <[email protected]> Date: Tue Nov 20 10:11:24 2012 +0100 do not use exitcode 0 on failure Change-Id: I47ce1502e8ffd58709a64a3ca520d59cb765bfaa diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx index 942ae75..1e4f1c2 100644 --- a/shell/source/tools/lngconvex/lngconvex.cxx +++ b/shell/source/tools/lngconvex/lngconvex.cxx @@ -590,15 +590,18 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) catch(const std::ios::failure& ex) { std::cout << ex.what() << std::endl; + return 1; } catch(const std::exception& ex) { std::cout << ex.what() << std::endl; ShowUsage(); + return 1; } catch(...) { std::cout << "Unexpected error..." << std::endl; + return 1; } return 0; }
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
