diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-12-07 23:49:36 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-12-08 00:06:56 +0100 |
commit | b2f7859fc2835d151fd6970a1233ea4f8768dbe1 (patch) | |
tree | c0fed3498a270f4c592b35c6c7fa3c62dfcc741d /oox | |
parent | e8f23f7576b8e383c9df4ebd399000264227fecb (diff) |
fix validation error in OOXML chart export
Change-Id: I750b33054ea0ee6202c0046a9f3947ab8bf44cd6
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 680e19b26242..3768cd30a784 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1244,10 +1244,13 @@ void ChartExport::exportLineChart( Reference< chart2::XChartType > xChartType ) if( GetProperty( xPropSet, "SymbolType" ) ) mAny >>= nSymbolType; - const char* marker = nSymbolType == ::com::sun::star::chart::ChartSymbolType::NONE? "0":"1"; - pFS->singleElement( FSNS( XML_c, XML_marker ), - XML_val, marker, - FSEND ); + if( !mbIs3DChart ) + { + const char* marker = nSymbolType == ::com::sun::star::chart::ChartSymbolType::NONE? "0":"1"; + pFS->singleElement( FSNS( XML_c, XML_marker ), + XML_val, marker, + FSEND ); + } exportAxesId( nAttachedAxis ); |