diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-05-05 18:59:34 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-05-05 19:44:26 +0200 |
commit | 010f58c4ef9a5e36d1c703ff20f8293bed90100a (patch) | |
tree | a4d36c6e6831925c91d55df1320fc399ec552e5a /oox | |
parent | respect element order in OOXML chart export, related fdo#59857 (diff) | |
download | core-010f58c4ef9a5e36d1c703ff20f8293bed90100a.tar.gz core-010f58c4ef9a5e36d1c703ff20f8293bed90100a.zip |
overlap is only valid for the 2D bar chart, related fdo#59857
Change-Id: Ie17ef54a2b2f2058cef97dacd9110a3065f76f68
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index ab97e50b1051..1a7a3ca218df 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1156,7 +1156,7 @@ void ChartExport::exportBarChart( Reference< chart2::XChartType > xChartType ) } //overlap - if( xTypeProp.is() && GetProperty( xTypeProp, "OverlapSequence") ) + if( !mbIs3DChart && xTypeProp.is() && GetProperty( xTypeProp, "OverlapSequence") ) { uno::Sequence< sal_Int32 > aBarPositionSequence; mAny >>= aBarPositionSequence; @@ -1169,18 +1169,6 @@ void ChartExport::exportBarChart( Reference< chart2::XChartType > xChartType ) FSEND ); } } - if( xTypeProp.is() && GetProperty( xTypeProp, "GapwidthSequence") ) - { - uno::Sequence< sal_Int32 > aBarPositionSequence; - mAny >>= aBarPositionSequence; - if( aBarPositionSequence.getLength() ) - { - sal_Int32 nGapWidth = aBarPositionSequence[0]; - pFS->singleElement( FSNS( XML_c, XML_gapWidth ), - XML_val, I32S( nGapWidth ), - FSEND ); - } - } exportAxesId( nAttachedAxis ); |