diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/chart/converterbase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/converterbase.cxx b/oox/source/drawingml/chart/converterbase.cxx index d8f7b564904d..5a58401ae07d 100644 --- a/oox/source/drawingml/chart/converterbase.cxx +++ b/oox/source/drawingml/chart/converterbase.cxx @@ -401,7 +401,7 @@ void LayoutConverter::convertFromModel( const Reference< XShape >& rxShape, doub awt::Point aShapePos( lclCalcPosition( aChartSize.Width, mrModel.mfX, mrModel.mnXMode ), lclCalcPosition( aChartSize.Height, mrModel.mfY, mrModel.mnYMode ) ); - if( !((aShapePos.X >= 0) && (aShapePos.Y >= 0)) ) + if( (aShapePos.X < 0) || (aShapePos.Y < 0) ) return; bool bPropSet = false; |