diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-19 09:14:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-19 09:21:25 +0100 |
commit | 7c78bcc6f115ad43a064b0be11d9bcc2aa7bdd00 (patch) | |
tree | c6a47d1ca01e77665a32345b4d95c92af008b8ce /oox/source | |
parent | 4b4c23acc74f7a13e29122c2b12415f9cc69b792 (diff) |
coverity#1298897 deadcode
Change-Id: I61892eeeb3d90e50f23cb1dbaf303aabaa1225fa
Diffstat (limited to 'oox/source')
-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; } |