summaryrefslogtreecommitdiff
path: root/basegfx/source
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-19 23:40:46 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-19 23:40:46 -0600
commit14242287e4af168af216f4f3a4491143e9e50a42 (patch)
tree8169bf711092e46e3761848af6b3a1dc5ec193d3 /basegfx/source
parentf3cc79a0b51e3e84e9e52516a3bfbfc6004a9b19 (diff)
coverity#1130188 Logically dead code
Change-Id: I56b58f76adc820371677a79991ad588a6d78adc7
Diffstat (limited to 'basegfx/source')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx2
1 files changed, 1 insertions, 1 deletions
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)
{