diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-05-05 19:10:31 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-05-05 19:44:26 +0200 |
commit | d28d25d0903f94ce9485c04e72400e493db44618 (patch) | |
tree | b43954834556f077058302209079072c5d57f5a4 /oox | |
parent | 3ed3d39230f5664ae38ecf683da133034901cbbf (diff) |
respect element order in OOXML chart export, fdo#59857
The chart part of the document passes validation now.
Change-Id: I52c946c0ad399038e5f9ffff08a117f2693c55b5
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index cae4dd24d690..3f65ef20a1de 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -918,9 +918,6 @@ void ChartExport::exportTitle( Reference< XShape > xShape ) FSHelperPtr pFS = GetFS(); pFS->startElement( FSNS( XML_c, XML_title ), FSEND ); - // TODO:customize layout - pFS->singleElement( FSNS( XML_c, XML_layout ), - FSEND ); pFS->startElement( FSNS( XML_c, XML_tx ), FSEND ); @@ -963,6 +960,11 @@ void ChartExport::exportTitle( Reference< XShape > xShape ) pFS->endElement( FSNS( XML_c, XML_rich ) ); pFS->endElement( FSNS( XML_c, XML_tx ) ); + + // TODO:customize layout + pFS->singleElement( FSNS( XML_c, XML_layout ), + FSEND ); + pFS->endElement( FSNS( XML_c, XML_title ) ); } |