summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/documentbuilder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/documentbuilder.cxx')
-rw-r--r--unoxml/source/dom/documentbuilder.cxx12
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"