summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-17 08:21:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 09:27:59 +0200
commite1eb7cb04a4c30cec238ab0f54d41a6cdc3299c1 (patch)
tree1c54b75238c4607a2b86f160c69b0287e350e573 /svgio
parente080acf2211af3f2b55cf59f04272a9a43188abe (diff)
loplugin:logexceptionnicely in starmath..svgio
Change-Id: I356e574e28338f6fddc6932b4e41a461d851406d Reviewed-on: https://gerrit.libreoffice.org/74141 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svguno/xsvgparser.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svgio/source/svguno/xsvgparser.cxx b/svgio/source/svguno/xsvgparser.cxx
index 6a16aa5d8282..57c1c81ed28f 100644
--- a/svgio/source/svguno/xsvgparser.cxx
+++ b/svgio/source/svguno/xsvgparser.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/xml/sax/InputSource.hpp>
#include <drawinglayer/geometry/viewinformation2d.hxx>
#include <svgdocumenthandler.hxx>
+#include <tools/diagnose_ex.h>
#include <svgvisitor.hxx>
@@ -135,9 +136,9 @@ namespace svgio
// be processable from all our processors
xParser->parseStream(myInputSource);
}
- catch(const uno::Exception& e)
+ catch(const uno::Exception&)
{
- SAL_INFO( "svg", "Parse error: " << e);
+ TOOLS_INFO_EXCEPTION( "svg", "Parse error");
return false;
}