summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolypolygoncutter.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-06-10 10:40:01 +0000
committerKurt Zenker <kz@openoffice.org>2004-06-10 10:40:01 +0000
commit1d1881dc1661f365b696c2200ac177df54b2d196 (patch)
treea46afe68d758532119ebf7924e93fe65f9f12c67 /basegfx/source/polygon/b2dpolypolygoncutter.cxx
parentf6180cb95c1500bd79194292616d517a8bc479ae (diff)
INTEGRATION: CWS aw011 (1.5.12); FILE MERGED
2004/05/14 15:35:23 aw 1.5.12.1: #116732# Corrected an error when migrationg the polygon cutter to basegfx. On 8 polaces, i had to replacce a less() compare with an moreOrEqual() one.
Diffstat (limited to 'basegfx/source/polygon/b2dpolypolygoncutter.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolypolygoncutter.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index 9d1fb54e1e75..6b738b19239d 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b2dpolypolygoncutter.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: thb $ $Date: 2004-01-16 10:34:33 $
+ * last change: $Author: kz $ $Date: 2004-06-10 11:40:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -679,13 +679,13 @@ namespace basegfx
do {
pB->calcMinMaxX(fMaxBX, fMinBX);
- if(fTools::more(fMaxBX, fMinAX)
- && fTools::more(fMaxAX, fMinBX))
+ if(fTools::moreOrEqual(fMaxBX, fMinAX) // #116732#
+ && fTools::moreOrEqual(fMaxAX, fMinBX)) // #116732#
{
pB->calcMinMaxY(fMaxBY, fMinBY);
- if(fTools::more(fMaxBY, fMinAY)
- && fTools::more(fMaxAY, fMinBY))
+ if(fTools::moreOrEqual(fMaxBY, fMinAY) // #116732#
+ && fTools::moreOrEqual(fMaxAY, fMinBY)) // #116732#
{
if(!isSamePos(pA->getPosition(), pB->getPosition()))
{
@@ -928,13 +928,13 @@ namespace basegfx
do {
pB->calcMinMaxX(fMaxBX, fMinBX);
- if(fTools::more(fMaxBX, fMinAX)
- && fTools::more(fMaxAX, fMinBX))
+ if(fTools::moreOrEqual(fMaxBX, fMinAX) // #116732#
+ && fTools::moreOrEqual(fMaxAX, fMinBX)) // #116732#
{
pB->calcMinMaxY(fMaxBY, fMinBY);
- if(fTools::more(fMaxBY, fMinAY)
- && fTools::more(fMaxAY, fMinBY))
+ if(fTools::moreOrEqual(fMaxBY, fMinAY) // #116732#
+ && fTools::moreOrEqual(fMaxAY, fMinBY)) // #116732#
{
if(!isSamePos(pA->getPosition(), pB->getPosition()))
{