diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-20 05:13:53 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-21 06:44:31 +0200 |
commit | 9ded594ec9bf79acfcf0570f873c2c29130eaaf3 (patch) | |
tree | 3e86f0629d4b79b6b86b5f5580fe1c02329fb199 | |
parent | 23de8cfe4d8021cc375731b48a055f4111063172 (diff) |
fix shape MSO 2007 vs OOXML
Change-Id: Ia145d6a8fd3af3367a27cbc7618f93546d4007d7
-rw-r--r-- | oox/source/drawingml/chart/seriescontext.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/drawingml/chart/seriescontext.cxx b/oox/source/drawingml/chart/seriescontext.cxx index 431a4533a006..aa179fb60233 100644 --- a/oox/source/drawingml/chart/seriescontext.cxx +++ b/oox/source/drawingml/chart/seriescontext.cxx @@ -467,8 +467,7 @@ ContextHandlerRef BarSeriesContext::onCreateContext( sal_Int32 nElement, const A case C_TOKEN( pictureOptions ): return new PictureOptionsContext( *this, mrModel.mxPicOptions.create() ); case C_TOKEN( shape ): - // missing attribute does not change shape type to 'box' as specified - mrModel.monShape = rAttribs.getToken( XML_val ); + mrModel.monShape = rAttribs.getToken( bMSO2007Doc ? XML_val : XML_box ); return 0; case C_TOKEN( trendline ): return new TrendlineContext( *this, mrModel.maTrendlines.create() ); |