diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2019-11-07 10:31:49 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-11-08 12:33:31 +0100 |
commit | 271bdc3469b694c113e4449750866dee032e2d34 (patch) | |
tree | 357ae20751f6ad2eb3db5767db7781190888ee15 /oox | |
parent | 63f7efe613f4f7436eddd90933c1916d2e689648 (diff) |
tdf#128633 Chart OOXML Export: Fix position of bar in charts
Fix export of c:crossBetween tag if the category axis is deleted.
Regression from commit: e0b0502516a10181bbd1737b93b38b2bba4c98e8
(tdf#128016 Chart OOXML Import: fix duplicated category labels)
Change-Id: I46ab45f3ba4f3d0fdde3ddf017a7f512b6e2e403
Reviewed-on: https://gerrit.libreoffice.org/82194
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index c4bf38eff9ef..040014912b32 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -251,7 +251,7 @@ static bool lcl_isCategoryAxisShifted(const Reference< chart2::XChartDocument >& if( xAxis.is()) { chart2::ScaleData aScaleData = xAxis->getScaleData(); - if( aScaleData.Categories.is() ) + if( aScaleData.AxisType == AXIS_PRIMARY_Y ) { isCategoryPositionShifted = aScaleData.ShiftedCategoryPosition; break; |