summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-20 05:22:42 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-21 06:44:32 +0200
commit090960a1eb8bff1cf74f041690cd7258070ba312 (patch)
treed4e1a81631f20c5a6c7c17868925bf910a553e51 /oox
parent1478d2c37e57db1ee869f8ca5573b7dc7c7d6a51 (diff)
fix showNegBubbles MSO 2007 vs OOXML
Change-Id: Ia5606fc9ab1131d3c0577d25101643f37f91dc85
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/chart/typegroupcontext.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/drawingml/chart/typegroupcontext.cxx b/oox/source/drawingml/chart/typegroupcontext.cxx
index 63546f953f0b..f644c7cf85f3 100644
--- a/oox/source/drawingml/chart/typegroupcontext.cxx
+++ b/oox/source/drawingml/chart/typegroupcontext.cxx
@@ -171,8 +171,7 @@ ContextHandlerRef BubbleTypeGroupContext::onCreateContext( sal_Int32 nElement, c
case C_TOKEN( ser ):
return new BubbleSeriesContext( *this, mrModel.maSeries.create() );
case C_TOKEN( showNegBubbles ):
- // default is 'false', not 'true' as specified
- mrModel.mbShowNegBubbles = rAttribs.getBool( XML_val, false );
+ mrModel.mbShowNegBubbles = rAttribs.getBool( XML_val, !bMSO2007Doc );
return 0;
case C_TOKEN( sizeRepresents ):
mrModel.mnSizeRepresents = rAttribs.getToken( XML_val, XML_area );