From 14242287e4af168af216f4f3a4491143e9e50a42 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 19 Jan 2014 23:40:46 -0600 Subject: coverity#1130188 Logically dead code Change-Id: I56b58f76adc820371677a79991ad588a6d78adc7 --- basegfx/source/polygon/b2dpolygontools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basegfx') diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx index 0cf0a37a4671..1ab9d807bacc 100644 --- a/basegfx/source/polygon/b2dpolygontools.cxx +++ b/basegfx/source/polygon/b2dpolygontools.cxx @@ -3551,7 +3551,7 @@ namespace basegfx if(bCurve) { // calculate target point count - const sal_uInt32 nLoopCount(bClosed ? nPointCount : (nPointCount ? nPointCount - 1 : 0)); + const sal_uInt32 nLoopCount(bClosed ? nPointCount : nPointCount - 1); if(nLoopCount) { -- cgit v1.2.3