diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-15 13:11:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-16 08:55:07 +0200 |
commit | 7508c1d1e701dba8cb67414be59193d9672b66ab (patch) | |
tree | 5f37eecd6486a223f26b882ca8697fb9afecb9cc /forms/source/xforms | |
parent | cf4059d59752de6e9a6eca59b388beef27bcd7e6 (diff) |
loplugin:logexceptionnicely in filter..framework
Change-Id: I8cf70ee278c641767e3fcfcfd151d99d791b3468
Reviewed-on: https://gerrit.libreoffice.org/74098
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source/xforms')
-rw-r--r-- | forms/source/xforms/submission/replace.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/forms/source/xforms/submission/replace.cxx b/forms/source/xforms/submission/replace.cxx index 4d3cb04888a8..aa9115ef60c7 100644 --- a/forms/source/xforms/submission/replace.cxx +++ b/forms/source/xforms/submission/replace.cxx @@ -25,6 +25,7 @@ #include <rtl/ustring.hxx> #include <rtl/string.hxx> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> #include <comphelper/processfactory.hxx> #include <com/sun/star/uno/Reference.hxx> @@ -101,8 +102,8 @@ CSubmission::SubmissionResult CSubmission::replace(const OUString& aReplace, con // do nothing \o/ return CSubmission::SUCCESS; } - } catch (const Exception& e) { - SAL_WARN( "forms.xforms", "Exception during replace: " << e); + } catch (const Exception&) { + TOOLS_WARN_EXCEPTION( "forms.xforms", "Exception during replace"); } return CSubmission::UNKNOWN_ERROR; } |