summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/tools/lngconvex/lngconvex.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx
index 942ae75ea154..1e4f1c20e03d 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;
}