Kaydet (Commit) 010f58c4 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

overlap is only valid for the 2D bar chart, related fdo#59857

Change-Id: Ie17ef54a2b2f2058cef97dacd9110a3065f76f68
üst 16010abe
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment