diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-22 04:47:36 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-22 05:05:01 +0200 |
commit | 2f74e52a6efe7a51d6575cbb9b5f30b1ad99ee7c (patch) | |
tree | 86c1b7ec99bf456a3214e4cb835c8149bc35aa35 /oox | |
parent | c97424f82a8d9d50d98e868cf0c1c2731ee15e74 (diff) |
use the correct default value, fdo#78080
Change-Id: I8b01bf22e8e3b98ef013b947f617905d558d3554
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/chart/chartspacefragment.cxx | 3 | ||||
-rw-r--r-- | oox/source/drawingml/chart/chartspacemodel.cxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/oox/source/drawingml/chart/chartspacefragment.cxx b/oox/source/drawingml/chart/chartspacefragment.cxx index 6e19f7740003..eec0f1c79bb7 100644 --- a/oox/source/drawingml/chart/chartspacefragment.cxx +++ b/oox/source/drawingml/chart/chartspacefragment.cxx @@ -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() ); diff --git a/oox/source/drawingml/chart/chartspacemodel.cxx b/oox/source/drawingml/chart/chartspacemodel.cxx index cf71f14a822c..d6e920d85488 100644 --- a/oox/source/drawingml/chart/chartspacemodel.cxx +++ b/oox/source/drawingml/chart/chartspacemodel.cxx @@ -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 ) |