chart2/source/model/template/FunnelChartTypeTemplate.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
New commits: commit 36a4455b19c55c31d1c309ff951c3f89c198d621 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Thu Apr 17 13:51:01 2025 +0200 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Thu Apr 17 15:00:15 2025 +0200 Fix the build ...after abc8ea2da28b17a4a4784830fe74fd2743f8a131 "tdf#165742 Step 2: Create a ChartType derived class for chartex funnel chart." got merged after 1aa34c45b6622942983c872d9d307d5768b68246 "fold DataSeriesHelper functions into DataSeries" and thus started to cause > /Volumes/lode/lode/jenkins/workspace/lo_tb_master_mac_dbg/chart2/source/model/template/FunnelChartTypeTemplate.cxx:151:23: error: no member named 'setPropertyAlsoToAllAttributedDataPoints' in namespace 'chart::DataSeriesHelper' > DataSeriesHelper::setPropertyAlsoToAllAttributedDataPoints(xSeries, "BorderStyle", > ~~~~~~~~~~~~~~~~~~^ > /Volumes/lode/lode/jenkins/workspace/lo_tb_master_mac_dbg/chart2/source/model/template/FunnelChartTypeTemplate.cxx:161:27: error: no member named 'setPropertyAlsoToAllAttributedDataPoints' in namespace 'chart::DataSeriesHelper' > DataSeriesHelper::setPropertyAlsoToAllAttributedDataPoints(xSeries, "Geometry3D", > ~~~~~~~~~~~~~~~~~~^ (<https://ci.libreoffice.org//job/lo_tb_master_mac_dbg/50335/>) etc. Change-Id: If9ebdc92b00511144ec9ed556aa80b1f49a0399e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184323 Reviewed-by: Patrick Luby <guibomac...@gmail.com> Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/chart2/source/model/template/FunnelChartTypeTemplate.cxx b/chart2/source/model/template/FunnelChartTypeTemplate.cxx index af026df10565..40b3897f8ad1 100644 --- a/chart2/source/model/template/FunnelChartTypeTemplate.cxx +++ b/chart2/source/model/template/FunnelChartTypeTemplate.cxx @@ -148,8 +148,8 @@ void FunnelChartTypeTemplate::applyStyle2(const rtl::Reference<DataSeries>& xSer ::sal_Int32 nSeriesCount) { ChartTypeTemplate::applyStyle2(xSeries, nChartTypeIndex, nSeriesIndex, nSeriesCount); - DataSeriesHelper::setPropertyAlsoToAllAttributedDataPoints(xSeries, "BorderStyle", - uno::Any(drawing::LineStyle_NONE)); + xSeries->setPropertyAlsoToAllAttributedDataPoints("BorderStyle", + uno::Any(drawing::LineStyle_NONE)); if (getDimension() != 3) return; @@ -158,8 +158,7 @@ void FunnelChartTypeTemplate::applyStyle2(const rtl::Reference<DataSeries>& xSer //apply Geometry3D uno::Any aAGeometry3D; getFastPropertyValue(aAGeometry3D, PROP_FUNNEL_TEMPLATE_GEOMETRY3D); - DataSeriesHelper::setPropertyAlsoToAllAttributedDataPoints(xSeries, "Geometry3D", - aAGeometry3D); + xSeries->setPropertyAlsoToAllAttributedDataPoints("Geometry3D", aAGeometry3D); } catch (const uno::Exception&) {