summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-12 02:59:48 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-12 03:01:13 +0100
commit372ca2ce06cc940b5da0b4653776cfebc2733d40 (patch)
tree11bef5fb14922946d7d7361c5319f1e03433d295 /oox
parent2b6e395152b48e412d3addde7d8b3808b28d32c6 (diff)
MSO writes broken files, fdo#74929
Change-Id: Iec545fc2a7ec61f6d4678398f22878c9f31a450d
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/chart/plotareaconverter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/plotareaconverter.cxx b/oox/source/drawingml/chart/plotareaconverter.cxx
index 54519d7335e5..b405a9c5916d 100644
--- a/oox/source/drawingml/chart/plotareaconverter.cxx
+++ b/oox/source/drawingml/chart/plotareaconverter.cxx
@@ -355,7 +355,7 @@ void PlotAreaConverter::convertFromModel( View3DModel& rView3DModel )
PlotAreaModel::AxisVector::value_type xAxis = *aAIt;
OSL_ENSURE( xAxis->mnAxisId >= 0, "PlotAreaConverter::convertFromModel - invalid axis identifier" );
OSL_ENSURE( !aAxisMap.has( xAxis->mnAxisId ), "PlotAreaConverter::convertFromModel - axis identifiers not unique" );
- if( xAxis->mnAxisId >= 0 )
+ if( xAxis->mnAxisId != -1 )
aAxisMap[ xAxis->mnAxisId ] = xAxis;
}