summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-05 18:53:53 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-05 19:44:26 +0200
commit16010abe0102a53e478de0e28453c7b14d48772b (patch)
treec71704046fbdec4607378341c8e6d8f92a72cf29
parente415e070d6aaba48f457acb4c295381c69d67c99 (diff)
respect element order in OOXML chart export, related fdo#59857
Change-Id: Icd40ad5a1a428d6ae0d012b1896a9dd713a4e79b
-rw-r--r--oox/source/export/chartexport.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 75fb6a8b37ba..ab97e50b1051 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2734,6 +2734,16 @@ void ChartExport::exportView3D()
XML_val, I32S( nRotationY ),
FSEND );
}
+ // rAngAx
+ if( GetProperty( xPropSet, "RightAngledAxes" ) )
+ {
+ sal_Bool bRightAngled = sal_False;
+ mAny >>= bRightAngled;
+ const char* sRightAngled = bRightAngled ? "1":"0";
+ pFS->singleElement( FSNS( XML_c, XML_rAngAx ),
+ XML_val, sRightAngled,
+ FSEND );
+ }
// perspective
if( GetProperty( xPropSet, "Perspective" ) )
{
@@ -2745,16 +2755,6 @@ void ChartExport::exportView3D()
XML_val, I32S( nPerspective ),
FSEND );
}
- // rAngAx
- if( GetProperty( xPropSet, "RightAngledAxes" ) )
- {
- sal_Bool bRightAngled = sal_False;
- mAny >>= bRightAngled;
- const char* sRightAngled = bRightAngled ? "1":"0";
- pFS->singleElement( FSNS( XML_c, XML_rAngAx ),
- XML_val, sRightAngled,
- FSEND );
- }
pFS->endElement( FSNS( XML_c, XML_view3D ) );
}