summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-01-06 18:57:39 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-01-06 18:57:39 +0100
commit66fd9a610cd876c236486a2089d8d58dca866e25 (patch)
tree66d003532071b9c86fb1bcb75a8304de2325eca8 /basegfx/source/polygon
parenta687d554774eba1c4bf5a4825e8730cb0114bd3c (diff)
Fix "Same expression on both sides of '&&'" (reported by cppcheck)
Diffstat (limited to 'basegfx/source/polygon')
-rw-r--r--basegfx/source/polygon/b2dpolypolygoncutter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index d32ee87acd38..874524110f89 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -282,7 +282,7 @@ namespace basegfx
bOnEdge = false;
}
}
- while(bOnEdge && pPNa2 != &rPNa && pPNa2 != &rPNa);
+ while(bOnEdge && pPNa2 != &rPNa && pPNb2 != &rPNb);
if(bOnEdge)
{
@@ -408,7 +408,7 @@ namespace basegfx
bOnEdge = false;
}
}
- while(bOnEdge && pPNa2 != &rPNa && pPNa2 != &rPNa);
+ while(bOnEdge && pPNa2 != &rPNa && pPNb2 != &rPNb);
if(bOnEdge)
{