summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorBalazs Varga <balazs.varga991@gmail.com>2019-08-13 22:53:40 +0200
committerLászló Németh <nemeth@numbertext.org>2019-08-14 09:06:10 +0200
commite8c7f4cd5bd95b8112c1795ed11b7ac7caed00a2 (patch)
treed6026a472f3dcacd5d34061676e4e5b999686d5c /xmloff
parenta1e65b1a4bb73dc5c2c72a70518abf521d42b4df (diff)
tdf#124243 fix import of deleted X axis of 3D charts
3D charts imported from ODF and DOCX showed the deleted X axis. Change-Id: I3316d08af3acd122e5f75fbf0031dda6a337edbd Reviewed-on: https://gerrit.libreoffice.org/77432 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/SchXMLAxisContext.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index f55877609937..881fa4d274fb 100644
--- a/xmloff/source/chart/SchXMLAxisContext.cxx
+++ b/xmloff/source/chart/SchXMLAxisContext.cxx
@@ -391,9 +391,7 @@ void SchXMLAxisContext::CreateAxis()
break;
case SCH_XML_AXIS_Z:
if( m_aCurrentAxis.nAxisIndex == 0 )
- aPropName = "HasXAxis";
- else
- aPropName = "HasSecondaryXAxis";
+ aPropName = "HasZAxis";
break;
case SCH_XML_AXIS_UNDEF:
SAL_INFO("xmloff.chart", "Invalid axis" );