chartmultiline: #i82971# complex categories (#i109100# listbox for categories is empty in YAxis format dialog)
This commit is contained in:
parent
4d3d5d9b70
commit
eca392e2cf
1 changed files with 2 additions and 10 deletions
|
@ -1016,17 +1016,9 @@ Sequence< rtl::OUString > DiagramHelper::getExplicitSimpleCategories(
|
|||
uno::Reference< frame::XModel > xChartModel( xChartDoc, uno::UNO_QUERY );
|
||||
if(xChartModel.is())
|
||||
{
|
||||
uno::Reference< chart2::XDiagram > xDia( xChartDoc->getFirstDiagram() );
|
||||
uno::Reference< chart2::XCoordinateSystem > xCooSys( ChartModelHelper::getFirstCoordinateSystem( xChartModel ) );
|
||||
if(xDia.is())
|
||||
{
|
||||
Reference< data::XLabeledDataSequence > xCategories( DiagramHelper::getCategoriesFromDiagram( xDia ) );
|
||||
if( xCategories.is() )
|
||||
{
|
||||
ExplicitCategoriesProvider aExplicitCategoriesProvider( xCooSys, xChartModel );
|
||||
aRet = aExplicitCategoriesProvider.getSimpleCategories();
|
||||
}
|
||||
}
|
||||
ExplicitCategoriesProvider aExplicitCategoriesProvider( xCooSys, xChartModel );
|
||||
aRet = aExplicitCategoriesProvider.getSimpleCategories();
|
||||
}
|
||||
return aRet;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue