diff options
Diffstat (limited to 'unoxml/source/dom')
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 12 | ||||
-rw-r--r-- | unoxml/source/dom/elementlist.cxx | 3 |
2 files changed, 5 insertions, 10 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" diff --git a/unoxml/source/dom/elementlist.cxx b/unoxml/source/dom/elementlist.cxx index f4dcfba1136c..3d6057f0d056 100644 --- a/unoxml/source/dom/elementlist.cxx +++ b/unoxml/source/dom/elementlist.cxx @@ -107,8 +107,7 @@ namespace DOM m_xEventListener = new WeakEventListener(this); xTarget->addEventListener("DOMSubtreeModified", m_xEventListener, false/*capture*/); } catch (const Exception &e){ - SAL_WARN( "unoxml", "Exception caught while registering NodeList as listener: " - << e.Message); + SAL_WARN( "unoxml", "Exception caught while registering NodeList as listener: " << e); } } |