diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-07 20:47:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-07 20:47:25 +0000 |
commit | c0e348a72a2f027eb7cdfe5b66b0e901cfdd676b (patch) | |
tree | e8f4caef43cc92c5b8f063801922bac880818267 /svx | |
parent | dce66ad650a2707ea3fca3afef0cbe4ee3e2338c (diff) |
coverity#1251177 Uncaught exception
Change-Id: Id71b104f8d1c420b3716b093cebad00a7eb3f431
Diffstat (limited to 'svx')
-rw-r--r-- | svx/workben/pixelctl.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/workben/pixelctl.cxx b/svx/workben/pixelctl.cxx index f9620425060d..09cb0201c6b1 100644 --- a/svx/workben/pixelctl.cxx +++ b/svx/workben/pixelctl.cxx @@ -68,6 +68,11 @@ SAL_IMPLEMENT_MAIN() SAL_WARN("vcl.app", "Fatal exception: " << e.Message); return 1; } + catch (const std::exception& e) + { + SAL_WARN("vcl.app", "Fatal exception: " << e.what()); + return 1; + } return 0; } |