summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xechart.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xechart.cxx')
-rw-r--r--sc/source/filter/excel/xechart.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx
index d45e694bb557..6edc1cb72e42 100644
--- a/sc/source/filter/excel/xechart.cxx
+++ b/sc/source/filter/excel/xechart.cxx
@@ -2374,8 +2374,7 @@ void XclExpChLegend::WriteBody( XclExpStream& rStrm )
XclExpChDropBar::XclExpChDropBar( const XclExpChRoot& rRoot, XclChObjectType eObjType ) :
XclExpChGroupBase( rRoot, EXC_CHFRBLOCK_TYPE_DROPBAR, EXC_ID_CHDROPBAR, 2 ),
- meObjType( eObjType ),
- mnBarDist( 100 )
+ meObjType( eObjType )
{
}
@@ -2394,7 +2393,7 @@ void XclExpChDropBar::WriteSubRecords( XclExpStream& rStrm )
void XclExpChDropBar::WriteBody( XclExpStream& rStrm )
{
- rStrm << mnBarDist;
+ rStrm << sal_uInt16(100); // Distance between bars (CHDROPBAR record).
}
XclExpChTypeGroup::XclExpChTypeGroup( const XclExpChRoot& rRoot, sal_uInt16 nGroupIdx ) :