[Libreoffice-commits] .: basegfx/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Fri Jan 6 09:58:46 PST 2012
basegfx/source/polygon/b2dpolypolygoncutter.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 66fd9a610cd876c236486a2089d8d58dca866e25
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Jan 6 18:57:39 2012 +0100
Fix "Same expression on both sides of '&&'" (reported by cppcheck)
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index d32ee87..8745241 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)
{
More information about the Libreoffice-commits
mailing list