summaryrefslogtreecommitdiff
path: root/vcl/workben/svdem.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-29 09:09:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-29 09:43:32 +0100
commitfab69b025b7011728fe105215ab790811db61ca1 (patch)
treee1c24ac180bd43d3dede53a3ae1020645df96d4c /vcl/workben/svdem.cxx
parented450f7e65198aebd19d745991358302ca14d0c9 (diff)
coverity#1308569 Uncaught exception
Change-Id: Ie3f4d0d0d8197d5dcbba7c266133e06e110843df
Diffstat (limited to 'vcl/workben/svdem.cxx')
-rw-r--r--vcl/workben/svdem.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx
index 365ad38048e4..6889c0d883c3 100644
--- a/vcl/workben/svdem.cxx
+++ b/vcl/workben/svdem.cxx
@@ -61,6 +61,11 @@ SAL_IMPLEMENT_MAIN()
SAL_WARN("vcl.app", "Fatal exception: " << e.Message);
return 1;
}
+ catch (const std::exception &e)
+ {
+ fprintf(stderr, "fatal error: %s\n", e.what());
+ return 1;
+ }
return 0;
}