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

don't add empty categories, fdo#46332

üst fc8a69bd
......@@ -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 );
}
......
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