summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-05 18:59:34 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-05 19:44:26 +0200
commit010f58c4ef9a5e36d1c703ff20f8293bed90100a (patch)
treea4d36c6e6831925c91d55df1320fc399ec552e5a
parent16010abe0102a53e478de0e28453c7b14d48772b (diff)
overlap is only valid for the 2D bar chart, related fdo#59857
Change-Id: Ie17ef54a2b2f2058cef97dacd9110a3065f76f68
-rw-r--r--oox/source/export/chartexport.cxx14
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 );