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

fix showDLblsOverMax MSO2007 vs OOXML default value

Change-Id: Iee541f180d9c569246e7ca8271b65f0717877e4f
üst 58ba2e19
......@@ -105,8 +105,7 @@ ContextHandlerRef ChartSpaceFragment::onCreateContext( sal_Int32 nElement, const
mrModel.mbPlotVisOnly = rAttribs.getBool( XML_val, !bMSO2007Document );
return 0;
case C_TOKEN( showDLblsOverMax ):
// default is 'false', not 'true' as specified
mrModel.mbShowLabelsOverMax = rAttribs.getBool( XML_val, false );
mrModel.mbShowLabelsOverMax = rAttribs.getBool( XML_val, !bMSO2007Document );
return 0;
case C_TOKEN( sideWall ):
return new WallFloorContext( *this, mrModel.mxSideWall.create() );
......
......@@ -29,7 +29,7 @@ ChartSpaceModel::ChartSpaceModel(bool bMSO2007Doc) :
mnStyle( 2 ),
mbAutoTitleDel( !bMSO2007Doc ), // difference between OOXML spec and MSO 2007
mbPlotVisOnly( !bMSO2007Doc ),
mbShowLabelsOverMax( false ),
mbShowLabelsOverMax( !bMSO2007Doc ),
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