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

use the correct default value, fdo#78080

Change-Id: I8b01bf22e8e3b98ef013b947f617905d558d3554
üst c97424f8
...@@ -85,8 +85,7 @@ ContextHandlerRef ChartSpaceFragment::onCreateContext( sal_Int32 nElement, const ...@@ -85,8 +85,7 @@ ContextHandlerRef ChartSpaceFragment::onCreateContext( sal_Int32 nElement, const
switch( nElement ) switch( nElement )
{ {
case C_TOKEN( autoTitleDeleted ): case C_TOKEN( autoTitleDeleted ):
// default is 'false', not 'true' as specified mrModel.mbAutoTitleDel = rAttribs.getBool( XML_val, true );
mrModel.mbAutoTitleDel = rAttribs.getBool( XML_val, false );
return 0; return 0;
case C_TOKEN( backWall ): case C_TOKEN( backWall ):
return new WallFloorContext( *this, mrModel.mxBackWall.create() ); return new WallFloorContext( *this, mrModel.mxBackWall.create() );
......
...@@ -28,7 +28,7 @@ namespace chart { ...@@ -28,7 +28,7 @@ namespace chart {
ChartSpaceModel::ChartSpaceModel() : ChartSpaceModel::ChartSpaceModel() :
mnDispBlanksAs( XML_gap ), // not zero as specified mnDispBlanksAs( XML_gap ), // not zero as specified
mnStyle( 2 ), mnStyle( 2 ),
mbAutoTitleDel( false ), mbAutoTitleDel( true ),
mbPlotVisOnly( false ), mbPlotVisOnly( false ),
mbShowLabelsOverMax( false ), mbShowLabelsOverMax( false ),
mbPivotChart( false ) mbPivotChart( false )
......
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