chart2/source/view/charttypes/PieChart.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 67e58d16f25332d2c96e2c9702bd78e9d76501c0 Author: Kurt Nordback <kurt.nordb...@protonmail.com> AuthorDate: Thu Dec 7 19:47:47 2023 -0700 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Mon Feb 19 09:19:21 2024 +0100 tdf#50934: Fix left of-pie ordering for imported charts Change-Id: I490d6719f5190b0e889bd274ffa9c1b196e656d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160738 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index 61583c9d477a..6d2f0ce091aa 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx @@ -182,7 +182,7 @@ bool PiePositionHelper::getInnerAndOuterRadius( double fCategoryX bool PiePositionHelper::clockwiseWedges() const { const ExplicitScaleData& rAngleScale = m_bSwapXAndY ? m_aScales[1] : m_aScales[0]; - return rAngleScale.Orientation == AxisOrientation_MATHEMATICAL; + return rAngleScale.Orientation == AxisOrientation_REVERSE; }