diff options
Diffstat (limited to 'vcl')
-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); } } } |