summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-06-13 16:27:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-06-13 17:06:21 +0100
commitcb8c6bf3c54737a50ecdc9e558415bcb5eea2605 (patch)
treed3c1b25dbb9cfa44dbf9da5643954bb5bbcb123e
parenta1dda85b46592b46ae290da43964b22eb0a84e29 (diff)
don't make it a secret what the errors are
Change-Id: Id5af439df527148e01ef41f21e55ff88ca19e672
-rw-r--r--svgio/source/svguno/xsvgparser.cxx4
-rw-r--r--vcl/source/gdi/svgdata.cxx4
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);
}
}