Fix "Same expression on both sides of '&&'" (reported by cppcheck)

This commit is contained in:
Julien Nabet 2012-01-06 18:57:39 +01:00
parent a687d55477
commit 66fd9a610c

View file

@ -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)
{