diff options
-rw-r--r-- | oox/source/export/chartexport.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index b9b9be548d9b..2f0853b935a3 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -122,12 +122,8 @@ namespace { sal_Int32 translateFromChart2AxisIndexToOox(sal_Int32 nIndex) { assert(nIndex == 0 || nIndex == 1); - if (nIndex == 0) - return AXIS_PRIMARY_Y; - else if (nIndex == 1) + if (nIndex == 1) return AXIS_SECONDARY_Y; - - // good default value for release builds return AXIS_PRIMARY_Y; } |