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

fix validation error in OOXML chart export

Change-Id: I750b33054ea0ee6202c0046a9f3947ab8bf44cd6
üst e8f23f75
...@@ -1244,10 +1244,13 @@ void ChartExport::exportLineChart( Reference< chart2::XChartType > xChartType ) ...@@ -1244,10 +1244,13 @@ void ChartExport::exportLineChart( Reference< chart2::XChartType > xChartType )
if( GetProperty( xPropSet, "SymbolType" ) ) if( GetProperty( xPropSet, "SymbolType" ) )
mAny >>= nSymbolType; mAny >>= nSymbolType;
const char* marker = nSymbolType == ::com::sun::star::chart::ChartSymbolType::NONE? "0":"1"; if( !mbIs3DChart )
pFS->singleElement( FSNS( XML_c, XML_marker ), {
XML_val, marker, const char* marker = nSymbolType == ::com::sun::star::chart::ChartSymbolType::NONE? "0":"1";
FSEND ); pFS->singleElement( FSNS( XML_c, XML_marker ),
XML_val, marker,
FSEND );
}
exportAxesId( nAttachedAxis ); 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