diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-04-29 00:12:07 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.de> | 2013-05-02 02:51:52 +0000 |
commit | 8b100b0eecdb7a28c9da6f452a65967071b68f87 (patch) | |
tree | f3fb9896af7f2b1d64dee8335cc904f5b484537d /oox | |
parent | 3ac3c8681253b7a05d5736f664929bcd5f15c8aa (diff) |
change order to allow validation of chart part
My simple test file is finally valid but is still now shown in Excel.
There must be another bug in our exporter.
Change-Id: Ib55e5b32edc3a556e9081b3008df539275dc289b
(cherry picked from commit e81d0c400c02a87d7fa492dbc5ac9f7921167920)
Reviewed-on: https://gerrit.libreoffice.org/3657
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 37abe5d0a04b..5211a76dfda5 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -2187,6 +2187,9 @@ void ChartExport::_exportAxis( XML_val, sTickLblPos, FSEND ); + // shape properties + exportShapeProps( xAxisProp ); + pFS->singleElement( FSNS( XML_c, XML_crossAx ), XML_val, I32S( aAxisIdPair.nCrossAx ), FSEND ); @@ -2281,8 +2284,6 @@ void ChartExport::_exportAxis( FSEND ); } - // shape properties - exportShapeProps( xAxisProp ); // TODO: text properties pFS->endElement( FSNS( XML_c, nAxisType ) ); |