catch the exception to prevent broken charts, tdf#98690
Change-Id: I5958c87ca793c19d5c78dc829eb0ff0a1e04dffa
This commit is contained in:
parent
c3cc9429d1
commit
0ab45be62b
1 changed files with 9 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue