diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-20 04:57:55 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-21 06:44:26 +0200 |
commit | 1acbe79da41b61f43d86eaadba3ab5e51e65528c (patch) | |
tree | e5d17e581b6a399b0dd86aaf9af1783df0f57066 /oox/source/drawingml | |
parent | 25ede145f926b2f3212a74e66fe2b2cf8fde9445 (diff) |
fix series smooth MSO 2007 vs OOXML
Change-Id: I7591402f4cea59a41afe1ae010cf34ab8627c8e0
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r-- | oox/source/drawingml/chart/seriescontext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/chart/seriescontext.cxx b/oox/source/drawingml/chart/seriescontext.cxx index b8ade3d1afaa..6cf23a6464e8 100644 --- a/oox/source/drawingml/chart/seriescontext.cxx +++ b/oox/source/drawingml/chart/seriescontext.cxx @@ -539,6 +539,7 @@ LineSeriesContext::~LineSeriesContext() ContextHandlerRef LineSeriesContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) { + bool bMSO2007Doc = getFilter().isMSO2007Document(); switch( getCurrentElement() ) { case C_TOKEN( ser ): @@ -555,9 +556,8 @@ ContextHandlerRef LineSeriesContext::onCreateContext( sal_Int32 nElement, const case C_TOKEN( marker ): return this; 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( trendline ): return new TrendlineContext( *this, mrModel.maTrendlines.create() ); |