coverity#1130188 Logically dead code

Change-Id: I56b58f76adc820371677a79991ad588a6d78adc7
This commit is contained in:
Norbert Thiebaud 2014-01-19 23:40:46 -06:00
parent f3cc79a0b5
commit 14242287e4

View file

@ -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)
{