From 2c05d758b2b62c9df413e2514fb3cd233d0f3ec7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 29 Sep 2017 16:21:54 +0200 Subject: add << operator for css::uno::Exception Change-Id: Ia23dafd07133779144965682df3b7125a3214235 Reviewed-on: https://gerrit.libreoffice.org/43046 Reviewed-by: Stephan Bergmann Tested-by: Jenkins --- forms/source/component/Edit.cxx | 2 +- forms/source/xforms/submission/replace.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'forms') diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx index 478c9b9c94f1..0b5dc04019a9 100644 --- a/forms/source/component/Edit.cxx +++ b/forms/source/component/Edit.cxx @@ -445,7 +445,7 @@ namespace { SAL_WARN( "forms.component", "could not transfer the property named '" << sourceprop.Name - << "'. " << e.Message ); + << "'. " << e ); } } } diff --git a/forms/source/xforms/submission/replace.cxx b/forms/source/xforms/submission/replace.cxx index e569e2634b63..8804c3c92b4b 100644 --- a/forms/source/xforms/submission/replace.cxx +++ b/forms/source/xforms/submission/replace.cxx @@ -101,7 +101,7 @@ CSubmission::SubmissionResult CSubmission::replace(const OUString& aReplace, con return CSubmission::SUCCESS; } } catch (const Exception& e) { - SAL_WARN( "forms.xforms", "Exception during replace: " << e.Message); + SAL_WARN( "forms.xforms", "Exception during replace: " << e); } return CSubmission::UNKNOWN_ERROR; } -- cgit