diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-05 16:20:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-09 08:46:34 +0200 |
commit | 48fbfe38f60de731ff8bec0372179bedd6670af4 (patch) | |
tree | 2a1bbc4a2207d049d38c058d7f4ebb06a4f01182 /cppcanvas/source/mtfrenderer | |
parent | 115a8539038ecdd5e496fb6c84101c5b14d11068 (diff) |
use more DBG_UNHANDLED_EXCEPTION
so we get nice logs of the exception dynamic type for UNO exceptions.
Change-Id: Ic0b10dc14d354a2c9a0591b3a51d2f1640d54bdb
Reviewed-on: https://gerrit.libreoffice.org/52465
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas/source/mtfrenderer')
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 806353dbe543..ce5e4d74d7d0 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -3000,7 +3000,7 @@ namespace cppcanvas } catch( uno::Exception& ) { - SAL_WARN("cppcanvas.emf", "" << comphelper::anyToString( cppu::getCaughtException() ) ); + DBG_UNHANDLED_EXCEPTION("cppcanvas.emf"); // convert error to return value return false; } @@ -3058,7 +3058,7 @@ namespace cppcanvas } catch( uno::Exception& ) { - SAL_WARN( "cppcanvas.emf", "" << comphelper::anyToString( cppu::getCaughtException() ) ); + DBG_UNHANDLED_EXCEPTION( "cppcanvas.emf"); return false; } } |