summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-20 05:24:04 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-21 06:44:33 +0200
commitdf6eaac55e6a8b2bec3f3897e87b9a58efe36bc6 (patch)
tree7b3a4bea7aa8650389e9da9865d4b26435519120
parent2e4b736b8a245a03ff20dbc3b0c9cf3be2d1ae01 (diff)
fix smooth MSO 2007 vs OOXML
Change-Id: I7dcb7a1a462cff40696bc3be860d8b02df8624b8
-rw-r--r--oox/source/drawingml/chart/typegroupcontext.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/oox/source/drawingml/chart/typegroupcontext.cxx b/oox/source/drawingml/chart/typegroupcontext.cxx
index 0bf36694d841..43ba686c1b6a 100644
--- a/oox/source/drawingml/chart/typegroupcontext.cxx
+++ b/oox/source/drawingml/chart/typegroupcontext.cxx
@@ -218,9 +218,7 @@ ContextHandlerRef LineTypeGroupContext::onCreateContext( sal_Int32 nElement, con
case C_TOKEN( ser ):
return new LineSeriesContext( *this, mrModel.maSeries.create() );
case C_TOKEN( smooth ):
- // TODO: OOXML_spec
- // MSO 2007 writes false by default and not true
- mrModel.mbSmooth = rAttribs.getBool( XML_val, true );
+ mrModel.mbSmooth = rAttribs.getBool( XML_val, !bMSO2007Doc );
return 0;
case C_TOKEN( upDownBars ):
return new UpDownBarsContext( *this, mrModel.mxUpDownBars.create() );