summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/chart/typegroupcontext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/chart/typegroupcontext.cxx b/oox/source/drawingml/chart/typegroupcontext.cxx
index 43ba686c1b6a..b3fa86a60b17 100644
--- a/oox/source/drawingml/chart/typegroupcontext.cxx
+++ b/oox/source/drawingml/chart/typegroupcontext.cxx
@@ -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;