summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-29 00:12:07 +0200
committerPetr Mladek <pmladek@suse.cz>2013-05-07 13:21:02 +0200
commitd65114eeea2a3c454883f4e7cabaa8b0e9b108a1 (patch)
tree6a6689d1352cd486311491aa614f7dd4b21c9253 /oox
parentdb9012ecfb2d1358a5866cdd1a411ddfc4c2665b (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.cxx5
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 ) );