summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorKurt Nordback <kurt.nordback@protonmail.com>2023-12-07 19:47:47 -0700
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-02-19 09:19:21 +0100
commit67e58d16f25332d2c96e2c9702bd78e9d76501c0 (patch)
tree60b66038c20be030d24e56ecc9f19b3b3c4ffb4a /chart2/source
parente3c0aeec8385cba90b4fb21d2c9032efa61a8e82 (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>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/view/charttypes/PieChart.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}