diff options
author | Kurt Nordback <kurt.nordback@protonmail.com> | 2023-12-10 21:06:44 -0700 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-02-19 12:19:33 +0100 |
commit | cf2715782d9ccb2acf46dc316e9a8c6990bdf368 (patch) | |
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>
-rw-r--r-- | chart2/source/view/charttypes/PieChart.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index 6d2f0ce091aa..b70fde756c74 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 ))); |