summaryrefslogtreecommitdiffstats
path: root/basegfx/source/polygon/b2dpolygontools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/polygon/b2dpolygontools.cxx')
-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)
{