diff options
-rw-r--r-- | svgio/source/svguno/xsvgparser.cxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/svgdata.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svgio/source/svguno/xsvgparser.cxx b/svgio/source/svguno/xsvgparser.cxx index 126eb43a37a6..1ee5a23d4fce 100644 --- a/svgio/source/svguno/xsvgparser.cxx +++ b/svgio/source/svguno/xsvgparser.cxx @@ -151,9 +151,9 @@ namespace svgio // be processable from all our processors xParser->parseStream(myInputSource); } - catch(uno::Exception&) + catch(const uno::Exception& e) { - OSL_ENSURE(false, "Parse error (!)"); + SAL_WARN( "svg", "Parse error! : " << e.Message); } // decompose to primitives diff --git a/vcl/source/gdi/svgdata.cxx b/vcl/source/gdi/svgdata.cxx index 3125e6aa9134..423505a35f8b 100644 --- a/vcl/source/gdi/svgdata.cxx +++ b/vcl/source/gdi/svgdata.cxx @@ -82,9 +82,9 @@ BitmapEx VCL_DLLPUBLIC convertPrimitive2DSequenceToBitmapEx( } } } - catch(const uno::Exception&) + catch(const uno::Exception& e) { - OSL_ENSURE(sal_False, "Got no graphic::XPrimitive2DRenderer (!)" ); + SAL_WARN( "vcl", "Got no graphic::XPrimitive2DRenderer! : " << e.Message); } } |