From 5c2498545d7d9ab23ed4ac6d17a3c0320537badf Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 2 Jul 2015 08:45:01 +0100 Subject: coverity#1309070 Uncaught exception Change-Id: I33eca20633236ab98df0eabdec4e3761d544167d --- helpcompiler/source/HelpLinker_main.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/helpcompiler/source/HelpLinker_main.cxx b/helpcompiler/source/HelpLinker_main.cxx index dd22eb99ae8a..e4e45fecf3c6 100644 --- a/helpcompiler/source/HelpLinker_main.cxx +++ b/helpcompiler/source/HelpLinker_main.cxx @@ -37,6 +37,11 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { std::cerr << e.m_aErrorMsg; exit(1); } + catch (const std::exception &e) + { + std::cerr << e.what(); + exit(1); + } return 0; } -- cgit