fdo#42526 : need to parse the address convention for parsing references

This commit is contained in:
Markus Mohrhard
2011-11-07 21:42:47 +01:00
parent 69565a036d
commit c6fc453194

View File

@@ -162,7 +162,7 @@ void lcl_ChartInit( const uno::Reference < embed::XEmbeddedObject >& xObj, ScVie
// use ScChartPositioner to auto-detect column/row headers (like ScChartArray in old version)
ScRangeListRef aRangeListRef( new ScRangeList );
aRangeListRef->Parse( aRangeString, pScDoc );
aRangeListRef->Parse( aRangeString, pScDoc, SCA_VALID, pScDoc->GetAddressConvention() );
if ( !aRangeListRef->empty() )
{
pScDoc->LimitChartIfAll( aRangeListRef ); // limit whole columns/rows to used area