diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-02-25 13:10:26 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-25 14:27:06 +0100 |
commit | e97062ef8c9a25ab6187216553b79654195549ba (patch) | |
tree | bf4d3733b744a5253ba81b8d88621ac36bca8172 /vcl/source/gdi | |
parent | 113a9273412b59c1ae1d1728705e1105fe3f2a93 (diff) |
vcl: GDIMetaFile: log some exceptions
Change-Id: I98794721c21231800d7d28cbdd34dd300b69a9c2
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/gdimtf.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx index cb2fb16e7be8..a1d2c36052f4 100644 --- a/vcl/source/gdi/gdimtf.cxx +++ b/vcl/source/gdi/gdimtf.cxx @@ -514,9 +514,11 @@ bool GDIMetaFile::ImplPlayWithRenderer( OutputDevice* pOut, const Point& rPos, S { throw; // runtime errors are fatal } - catch (const uno::Exception&) + catch (const uno::Exception& e) { // ignore errors, no way of reporting them here + SAL_WARN("vcl", + "GDIMetaFile::ImplPlayWithRenderer: exception: " << e.Message); } return false; @@ -586,9 +588,11 @@ void GDIMetaFile::ImplDelegate2PluggableRenderer( const MetaCommentAction* pAct, // runtime errors are fatal throw; } - catch (const uno::Exception&) + catch (const uno::Exception& e) { // ignore errors, no way of reporting them here + SAL_WARN("vcl", "GDIMetaFile::ImplDelegate2PluggableRenderer:" + " exception: " << e.Message); } } } |