Kaydet (Commit) 0ab45be6 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

catch the exception to prevent broken charts, tdf#98690

Change-Id: I5958c87ca793c19d5c78dc829eb0ff0a1e04dffa
üst c3cc9429
......@@ -360,8 +360,15 @@ OUString convertRange( const OUString & rRange, const uno::Reference< chart2::XC
return aResult;
uno::Reference< chart2::data::XRangeXMLConversion > xConversion(
xDoc->getDataProvider(), uno::UNO_QUERY );
if( xConversion.is())
aResult = xConversion->convertRangeToXML( rRange );
try
{
if( xConversion.is())
aResult = xConversion->convertRangeToXML( rRange );
}
catch (css::lang::IllegalArgumentException&)
{
}
return aResult;
}
......
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