| commit | cf2715782d9ccb2acf46dc316e9a8c6990bdf368 | [log] |
|---|---|---|
| author | Kurt Nordback <kurt.nordback@protonmail.com> | Sun Dec 10 21:06:44 2023 -0700 |
| committer | Noel Grandin <noel.grandin@collabora.co.uk> | Mon Feb 19 12:19:33 2024 +0100 |
| tree | 4de3c93cc388c90e0e5a36cce312d77f667c807a | |
| parent | 7d1e5fdf4b0a9ab41e496dd2c4ff4f0653cf982f [diff] |
tdf#50934: Fix color of composite wedge for imported of-pie charts Change-Id: I5236ed53e418e31a470a66bdbe21eceaa5f6fc04 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160739 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index 6d2f0ce..b70fde7 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx
@@ -1193,7 +1193,7 @@ void PieChart::createOneRing([[maybe_unused]]enum SubPieType eType, pSeries->getTotalPointCount() : nPointIndex); ///point color: if (!pSeries->hasPointOwnColor(nPointIndex) && m_xColorScheme.is()) if (!pSeries->hasPointOwnColor(nPropIdx) && m_xColorScheme.is()) { xPointShape->setPropertyValue("FillColor", uno::Any(m_xColorScheme->getColorByIndex( nPropIdx )));