diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-20 05:25:55 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-21 06:44:33 +0200 |
commit | 007eadfaa0efae0d8baa51b56295b5adc6564b50 (patch) | |
tree | e88c2714367ba250349a7ac410a7d810001d4ec7 /oox | |
parent | df6eaac55e6a8b2bec3f3897e87b9a58efe36bc6 (diff) |
fix wireframe MSO 2007 vs OOXML
Change-Id: I6bea0db361174ad93f182e0dd6ce37ae1c4ca8ec
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/chart/typegroupcontext.cxx | 4 |
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; |