From 2836b78b54650d117282a9a345677d1b4d9fc043 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 Jun 2019 15:38:17 +0200 Subject: loplugin:logexceptionnicely in xmlhelp..xmlsecurity Change-Id: Idbf0de3f953b08f98144241346533ad30f49269e Reviewed-on: https://gerrit.libreoffice.org/74285 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/draw/animationexport.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xmloff/source/draw/animationexport.cxx') diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx index 8055e01515fe..a55f1e991685 100644 --- a/xmloff/source/draw/animationexport.cxx +++ b/xmloff/source/draw/animationexport.cxx @@ -56,6 +56,7 @@ #include #include #include +#include #include #include "sdxmlexp_impl.hxx" @@ -537,9 +538,9 @@ static OUString lcl_StoreMediaAndGetURL(SvXMLExport & rExport, OUString const& r return urlPath; } - catch (uno::Exception const& e) + catch (uno::Exception const&) { - SAL_INFO("xmloff", "exception while storing embedded media: '" << e << "'"); + TOOLS_INFO_EXCEPTION("xmloff", "exception while storing embedded media"); } return OUString(); } -- cgit