diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2019-11-12 14:05:19 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-11-13 10:59:57 +0100 |
commit | 71f9961488232697bcdb37db349569a20f15bb2d (patch) | |
tree | 8d6488ba2087542fc4772c5d57f4071618bf79f0 /chart2/source/tools/AxisHelper.cxx | |
parent | 58281dda29a6267736893ae83b66213e6a4fa1ba (diff) |
tdf#128733 Chart import: fix secondary X axis
shiftedcategoryposition value. When inserting secondary axes it applies
the ShiftedCategoryPosition of the main axis.
Regression from the commit 111c260ab2883b7906f1a66e222dbf4dc3c58c4f
(tdf#127777 OOXML chart export: fix "CrossBetween" for not imported
charts)
Change-Id: Ia043fe2873f633cbd5f7db206cf9d1b0d2f8c34c
Reviewed-on: https://gerrit.libreoffice.org/82511
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'chart2/source/tools/AxisHelper.cxx')
-rw-r--r-- | chart2/source/tools/AxisHelper.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx index 6ec3d44f48d4..75d51c610e11 100644 --- a/chart2/source/tools/AxisHelper.cxx +++ b/chart2/source/tools/AxisHelper.cxx @@ -364,6 +364,7 @@ Reference< XAxis > AxisHelper::createAxis( aScale.AutoDateAxis = aMainScale.AutoDateAxis; aScale.Categories = aMainScale.Categories; aScale.Orientation = aMainScale.Orientation; + aScale.ShiftedCategoryPosition = aMainScale.ShiftedCategoryPosition; xAxis->setScaleData( aScale ); |