From 67e58d16f25332d2c96e2c9702bd78e9d76501c0 Mon Sep 17 00:00:00 2001 From: Kurt Nordback Date: Thu, 7 Dec 2023 19:47:47 -0700 Subject: 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 --- chart2/source/view/charttypes/PieChart.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2/source') 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; } -- cgit