diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-15 16:50:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-18 19:27:29 +0000 |
commit | 61e6afb4d556f95d3cb7dc64262d834c627518f1 (patch) | |
tree | 2d37c70ec54479713de5b576060d6cb5206da30c /chart2/source/tools/DiagramHelper.cxx | |
parent | 84352224e132c52bcc5ebff44c5a6f8383316f79 (diff) |
move getDataSeriesGroups inside chart2::Diagram
Change-Id: I776e07ad6dce63df9891ab6823811ad20a37e77c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149084
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/tools/DiagramHelper.cxx')
-rw-r--r-- | chart2/source/tools/DiagramHelper.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/chart2/source/tools/DiagramHelper.cxx b/chart2/source/tools/DiagramHelper.cxx index bf7b9f3ee537..4dc6c40c184c 100644 --- a/chart2/source/tools/DiagramHelper.cxx +++ b/chart2/source/tools/DiagramHelper.cxx @@ -623,26 +623,6 @@ std::vector< rtl::Reference< ::chart::DataSeries > > return aResult; } -std::vector< std::vector< rtl::Reference< DataSeries > > > - DiagramHelper::getDataSeriesGroups( const rtl::Reference< Diagram > & xDiagram ) -{ - if (!xDiagram) - return {}; - - std::vector< std::vector< rtl::Reference< DataSeries > > > aResult; - - //iterate through all coordinate systems - for( rtl::Reference< BaseCoordinateSystem > const & coords : xDiagram->getBaseCoordinateSystems() ) - { - //iterate through all chart types in the current coordinate system - for( rtl::Reference< ChartType > const & chartType : coords->getChartTypes2() ) - { - aResult.push_back( chartType->getDataSeries2() ); - } - } - return aResult; -} - static void lcl_generateAutomaticCategoriesFromChartType( Sequence< OUString >& rRet, const rtl::Reference< ChartType >& xChartType ) |