don't add empty categories, fdo#46332
This commit is contained in:
parent
fc8a69bd33
commit
e4f14d089d
1 changed files with 1 additions and 1 deletions
|
@ -1560,7 +1560,7 @@ ScChart2DataProvider::createDataSource(
|
|||
}
|
||||
Reference< chart2::data::XLabeledDataSequence > xChartSeries = lcl_createLabeledDataSequenceFromTokens(
|
||||
pValueTokens, pLabelTokens, m_pDocument, this, m_bIncludeHiddenCells ); //ownership of pointers is transfered!
|
||||
if ( xChartSeries.is() )
|
||||
if ( xChartSeries.is() && xChartSeries->getValues()->getData().getLength() )
|
||||
{
|
||||
aSeqs.push_back( xChartSeries );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue