diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-21 19:39:40 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-21 20:56:59 +0100 |
commit | 4e83223da4b960e25a8afd818e8622ab12aa0d60 (patch) | |
tree | cee728d95669733e05d759033ceb46bdabd609c1 /basegfx | |
parent | 155f694da8b1db4b3199c9b545d6bbaa071b4c40 (diff) |
WaE: duplicateBranch
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygoncutter.cxx | 24 |
1 files changed, 2 insertions, 22 deletions
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)) { |