diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-01-15 12:08:06 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-02-02 14:20:24 +0100 |
commit | a76cb35d9fcb6188e4b02678232d0be07c31e547 (patch) | |
tree | 7c605eafe643669ed483a0586e1a6a7462d4ebc1 /oox | |
parent | 9eb74ef80bf5b33e9dfc7725f73bc162612c9c14 (diff) |
oox: coverity#1348468 copy-paste error
Change-Id: Ibea6944c4e61e9848aac936e399ed08192ec5812
(cherry picked from commit 99ab23d26010120e7e6344cb2b26e192890ec5c3)
Reviewed-on: https://gerrit.libreoffice.org/21489
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 436b1615b271bae46a43530c2dab3a80b4e46419)
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/shape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 4a9223fbfb6e..c749846a1ae4 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -518,7 +518,7 @@ Reference< XShape > Shape::createAndInsert( const basegfx::B2DPoint& rPreviousPoint = aPoly.getB2DPoint(i - 1); if (aPoint.getX() - rPreviousPoint.getX() == 0) aPoint.setX(aPoint.getX() + 1); - if (aPoint.getY() - rPreviousPoint.getX() == 0) + if (aPoint.getY() - rPreviousPoint.getY() == 0) aPoint.setY(aPoint.getY() + 1); } |