basegfx/source/polygon/b2dpolygontools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 14242287e4af168af216f4f3a4491143e9e50a42 Author: Norbert Thiebaud <nthieb...@gmail.com> Date: Sun Jan 19 23:40:46 2014 -0600 coverity#1130188 Logically dead code Change-Id: I56b58f76adc820371677a79991ad588a6d78adc7 diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx index 0cf0a37..1ab9d80 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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits