| commit | 67e58d16f25332d2c96e2c9702bd78e9d76501c0 | [log] |
|---|---|---|
| author | Kurt Nordback <kurt.nordback@protonmail.com> | Thu Dec 07 19:47:47 2023 -0700 |
| committer | Noel Grandin <noel.grandin@collabora.co.uk> | Mon Feb 19 09:19:21 2024 +0100 |
| tree | 60b66038c20be030d24e56ecc9f19b3b3c4ffb4a | |
| parent | e3c0aeec8385cba90b4fb21d2c9032efa61a8e82 [diff] |
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.grandin@collabora.co.uk>
diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index 61583c9..6d2f0ce 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; }