[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - oox/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Wed May 1 19:52:13 PDT 2013
oox/source/export/chartexport.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 8b100b0eecdb7a28c9da6f452a65967071b68f87
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Apr 29 00:12:07 2013 +0200
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 at suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida at suse.de>
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 37abe5d..5211a76 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 ) );
More information about the Libreoffice-commits
mailing list