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

fix wireframe MSO 2007 vs OOXML

Change-Id: I6bea0db361174ad93f182e0dd6ce37ae1c4ca8ec
üst df6eaac5
......@@ -350,6 +350,7 @@ SurfaceTypeGroupContext::~SurfaceTypeGroupContext()
ContextHandlerRef SurfaceTypeGroupContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs )
{
bool bMSO2007Doc = getFilter().isMSO2007Document();
if( isRootElement() ) switch( nElement )
{
case C_TOKEN( axId ):
......@@ -358,8 +359,7 @@ ContextHandlerRef SurfaceTypeGroupContext::onCreateContext( sal_Int32 nElement,
case C_TOKEN( ser ):
return new SurfaceSeriesContext( *this, mrModel.maSeries.create() );
case C_TOKEN( wireframe ):
// default is 'false', not 'true' as specified
mrModel.mbWireframe = rAttribs.getBool( XML_val, false );
mrModel.mbWireframe = rAttribs.getBool( XML_val, !bMSO2007Doc );
return 0;
}
return 0;
......
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