[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - oox/source
Markus Mohrhard
markus.mohrhard at collabora.co.uk
Mon Jun 23 02:04:43 PDT 2014
oox/source/drawingml/chart/chartspacefragment.cxx | 3 +--
oox/source/drawingml/chart/chartspacemodel.cxx | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
New commits:
commit e07eedd38062edfbe4998946b75f1a3d958e9615
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date: Sun Jun 22 04:47:36 2014 +0200
use the correct default value, fdo#78080
Change-Id: I8b01bf22e8e3b98ef013b947f617905d558d3554
Reviewed-on: https://gerrit.libreoffice.org/9849
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/oox/source/drawingml/chart/chartspacefragment.cxx b/oox/source/drawingml/chart/chartspacefragment.cxx
index 6e19f77..eec0f1c 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 cf71f14..d6e920d 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 )
More information about the Libreoffice-commits
mailing list