From de07f40030bbd604bc42d58f0e954cca284a2646 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sat, 21 Apr 2018 07:50:54 +0200 Subject: cppcheck: identicalInnerCondition renamed temporary list in EnhancedCustomShape2d.cxx to avoid shadow of a local variable Change-Id: I17a2261dafd2067480fcc5314af4f48765d6b690 Reviewed-on: https://gerrit.libreoffice.org/53244 Tested-by: Jenkins Reviewed-by: Jochen Nitschke --- basegfx/source/polygon/b3dpolygontools.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'basegfx') diff --git a/basegfx/source/polygon/b3dpolygontools.cxx b/basegfx/source/polygon/b3dpolygontools.cxx index 17dd77600f96..2059d91bdef6 100644 --- a/basegfx/source/polygon/b3dpolygontools.cxx +++ b/basegfx/source/polygon/b3dpolygontools.cxx @@ -147,10 +147,7 @@ namespace basegfx aSnippet.append(interpolate(aCurrentPoint, aNextPoint, fDotDashMovingLength / fEdgeLength)); - if(bHandleLine) - { - pLineTarget->append(aSnippet); - } + pLineTarget->append(aSnippet); aSnippet.clear(); } -- cgit v1.2.3