Kaydet (Commit) cb8c6bf3 authored tarafından Caolán McNamara's avatar Caolán McNamara

don't make it a secret what the errors are

Change-Id: Id5af439df527148e01ef41f21e55ff88ca19e672
üst a1dda85b
......@@ -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
......
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment