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

fix bubble3D MSO 2007 vs OOXML

Change-Id: Ide059f320e45080278e0c1723c81b26c0bbad506
üst 0d1f5324
...@@ -502,8 +502,7 @@ ContextHandlerRef BubbleSeriesContext::onCreateContext( sal_Int32 nElement, cons ...@@ -502,8 +502,7 @@ ContextHandlerRef BubbleSeriesContext::onCreateContext( sal_Int32 nElement, cons
switch( nElement ) switch( nElement )
{ {
case C_TOKEN( bubble3D ): case C_TOKEN( bubble3D ):
// default is 'false', not 'true' as specified mrModel.mbBubble3d = rAttribs.getBool( XML_val, !bMSO2007Doc );
mrModel.mbBubble3d = rAttribs.getBool( XML_val, false );
return 0; return 0;
case C_TOKEN( bubbleSize ): case C_TOKEN( bubbleSize ):
return new DataSourceContext( *this, mrModel.maSources.create( SeriesModel::POINTS ) ); return new DataSourceContext( *this, mrModel.maSources.create( SeriesModel::POINTS ) );
......
...@@ -160,8 +160,7 @@ ContextHandlerRef BubbleTypeGroupContext::onCreateContext( sal_Int32 nElement, c ...@@ -160,8 +160,7 @@ ContextHandlerRef BubbleTypeGroupContext::onCreateContext( sal_Int32 nElement, c
mrModel.maAxisIds.push_back( rAttribs.getInteger( XML_val, -1 ) ); mrModel.maAxisIds.push_back( rAttribs.getInteger( XML_val, -1 ) );
return 0; return 0;
case C_TOKEN( bubble3D ): case C_TOKEN( bubble3D ):
// default is 'false', not 'true' as specified mrModel.mbBubble3d = rAttribs.getBool( XML_val, !bMSO2007Doc );
mrModel.mbBubble3d = rAttribs.getBool( XML_val, false );
return 0; return 0;
case C_TOKEN( bubbleScale ): case C_TOKEN( bubbleScale ):
mrModel.mnBubbleScale = rAttribs.getInteger( XML_val, 100 ); mrModel.mnBubbleScale = rAttribs.getInteger( XML_val, 100 );
......
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