use the correct default value, fdo#78080

Change-Id: I8b01bf22e8e3b98ef013b947f617905d558d3554
This commit is contained in:
Markus Mohrhard
2014-06-22 04:47:36 +02:00
parent c97424f82a
commit 2f74e52a6e
2 changed files with 2 additions and 3 deletions

View File

@@ -85,8 +85,7 @@ ContextHandlerRef ChartSpaceFragment::onCreateContext( sal_Int32 nElement, const
switch( nElement )
{
case C_TOKEN( autoTitleDeleted ):
// default is 'false', not 'true' as specified
mrModel.mbAutoTitleDel = rAttribs.getBool( XML_val, false );
mrModel.mbAutoTitleDel = rAttribs.getBool( XML_val, true );
return 0;
case C_TOKEN( backWall ):
return new WallFloorContext( *this, mrModel.mxBackWall.create() );

View File

@@ -28,7 +28,7 @@ namespace chart {
ChartSpaceModel::ChartSpaceModel() :
mnDispBlanksAs( XML_gap ), // not zero as specified
mnStyle( 2 ),
mbAutoTitleDel( false ),
mbAutoTitleDel( true ),
mbPlotVisOnly( false ),
mbShowLabelsOverMax( false ),
mbPivotChart( false )