summaryrefslogtreecommitdiff
path: root/basegfx/source/curve/b2dquadraticbezier.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2003-11-05 11:25:58 +0000
committerArmin Weiss <aw@openoffice.org>2003-11-05 11:25:58 +0000
commitc3663a687ccc9365b2b4eb4a3950b8d94c2d6ea7 (patch)
treec47ce5e59d718d5f772121000a356ef523662b17 /basegfx/source/curve/b2dquadraticbezier.cxx
parent571971699571e0baf9710ddf076ebf27aebb548d (diff)
Added PolyPolygonTools, Added PolygonTool functionality, changed bool to sal_Bool
Diffstat (limited to 'basegfx/source/curve/b2dquadraticbezier.cxx')
-rw-r--r--basegfx/source/curve/b2dquadraticbezier.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/basegfx/source/curve/b2dquadraticbezier.cxx b/basegfx/source/curve/b2dquadraticbezier.cxx
index 71f5d55a28f0..a22fc9778090 100644
--- a/basegfx/source/curve/b2dquadraticbezier.cxx
+++ b/basegfx/source/curve/b2dquadraticbezier.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b2dquadraticbezier.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: aw $ $Date: 2003-10-31 10:13:54 $
+ * last change: $Author: aw $ $Date: 2003-11-05 12:25:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -116,7 +116,7 @@ namespace basegfx
}
// compare operators
- bool B2DQuadraticBezier::operator==(const B2DQuadraticBezier& rBezier) const
+ sal_Bool B2DQuadraticBezier::operator==(const B2DQuadraticBezier& rBezier) const
{
return (
maStartPoint == rBezier.maStartPoint
@@ -125,7 +125,7 @@ namespace basegfx
);
}
- bool B2DQuadraticBezier::operator!=(const B2DQuadraticBezier& rBezier) const
+ sal_Bool B2DQuadraticBezier::operator!=(const B2DQuadraticBezier& rBezier) const
{
return (
maStartPoint != rBezier.maStartPoint
@@ -135,13 +135,13 @@ namespace basegfx
}
// test if control vector is used
- bool B2DQuadraticBezier::isBezier() const
+ sal_Bool B2DQuadraticBezier::isBezier() const
{
// if control vector is empty, bezier is not used
if(maControlPoint == maStartPoint || maControlPoint == maEndPoint)
- return false;
+ return sal_False;
- return true;
+ return sal_True;
}
} // end of namespace curve
} // end of namespace basegfx