diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-29 16:21:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-04 15:18:00 +0200 |
commit | 2c05d758b2b62c9df413e2514fb3cd233d0f3ec7 (patch) | |
tree | e0a23d3da6fb17ae97d18957fc14f4a4a8de2d3f /unoxml/source/dom/documentbuilder.cxx | |
parent | a3088b1e72ef17babe3d3664c610afd02cfe0891 (diff) |
add << operator for css::uno::Exception
Change-Id: Ia23dafd07133779144965682df3b7125a3214235
Reviewed-on: https://gerrit.libreoffice.org/43046
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'unoxml/source/dom/documentbuilder.cxx')
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index 0b5aa5d583d7..d0e7ad0121e3 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -200,7 +200,7 @@ namespace DOM memcpy(buffer, chunk.getConstArray(), nread); return nread; } catch (const css::uno::Exception& ex) { - SAL_WARN( "unoxml", ex.Message); + SAL_WARN( "unoxml", ex); return -1; } } @@ -219,7 +219,7 @@ namespace DOM delete pctx; return 0; } catch (const css::uno::Exception& ex) { - SAL_WARN( "unoxml", ex.Message); + SAL_WARN( "unoxml", ex); return -1; } } @@ -295,9 +295,7 @@ namespace DOM catch (const css::uno::Exception &e) { // Protect lib2xml from UNO Exception - SAL_WARN("unoxml", - "DOM::warning_func: caught RuntimeException" - << e.Message); + SAL_WARN("unoxml", "DOM::warning_func: caught " << e); } } @@ -329,9 +327,7 @@ namespace DOM catch (const css::uno::Exception &e) { // Protect lib2xml from UNO Exception - SAL_WARN("unoxml", - "DOM::error_func: caught RuntimeException" - << e.Message); + SAL_WARN("unoxml", "DOM::error_func: caught " << e); } } } // extern "C" |