summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
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;
}