diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-20 05:08:12 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-21 06:44:29 +0200 |
commit | f418edfb2302a32ae6fc571b774504055eb2d345 (patch) | |
tree | 2b2522891bd41f5e7d98ad1f7bc0bcb10b82cd20 | |
parent | 02b2ebd32101abd2c2cd7c13ce80109f7a72a7bd (diff) |
fix applyToEnd MSO 2007 vs OOXML
Change-Id: Ied92054db1daabf7342cb6455bcf5edfc80bc6a1
-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 446bad10caff..ba2a81c39066 100644 --- a/oox/source/drawingml/chart/seriescontext.cxx +++ b/oox/source/drawingml/chart/seriescontext.cxx @@ -157,11 +157,11 @@ PictureOptionsContext::~PictureOptionsContext() ContextHandlerRef PictureOptionsContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) { + bool bMSO2007Doc = getFilter().isMSO2007Document(); if( isRootElement() ) switch( nElement ) { case C_TOKEN( applyToEnd ): - // default is 'false', not 'true' as specified - mrModel.mbApplyToEnd = rAttribs.getBool( XML_val, false ); + mrModel.mbApplyToEnd = rAttribs.getBool( XML_val, !bMSO2007Doc ); return 0; case C_TOKEN( applyToFront ): // default is 'false', not 'true' as specified |