From 4e83223da4b960e25a8afd818e8622ab12aa0d60 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Tue, 21 Feb 2012 19:39:40 +0100 Subject: WaE: duplicateBranch --- basegfx/source/polygon/b2dpolypolygoncutter.cxx | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) (limited to 'basegfx/source/polygon') diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx index 874524110f89..8675b0121261 100644 --- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx +++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx @@ -233,17 +233,7 @@ namespace basegfx if(aPrevA.equal(aPrevB)) { // common edge in same direction - if(aNextA.equal(aNextB)) - { - // common edge in same direction continues - return; - } - else - { - // common edge in same direction leave - // action is done on enter - return; - } + return; } else if(aPrevA.equal(aNextB)) { @@ -359,17 +349,7 @@ namespace basegfx if(rPrevA.equal(rPrevB)) { // common edge in same direction - if(rNextA.equal(rNextB)) - { - // common edge in same direction continues - return; - } - else - { - // common edge in same direction leave - // action is done on enter - return; - } + return; } else if(rPrevA.equal(rNextB)) { -- cgit v1.2.3