From c3663a687ccc9365b2b4eb4a3950b8d94c2d6ea7 Mon Sep 17 00:00:00 2001 From: Armin Weiss Date: Wed, 5 Nov 2003 11:25:58 +0000 Subject: Added PolyPolygonTools, Added PolygonTool functionality, changed bool to sal_Bool --- basegfx/source/tuple/b2dtuple.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'basegfx/source/tuple') diff --git a/basegfx/source/tuple/b2dtuple.cxx b/basegfx/source/tuple/b2dtuple.cxx index ded4d23a05cd..367ea17285dd 100644 --- a/basegfx/source/tuple/b2dtuple.cxx +++ b/basegfx/source/tuple/b2dtuple.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b2dtuple.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: aw $ $Date: 2003-10-31 10:14:00 $ + * last change: $Author: aw $ $Date: 2003-11-05 12:25:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -74,26 +74,26 @@ namespace basegfx // initialize static member B2DTuple B2DTuple::maEmptyTuple(0.0, 0.0); - bool B2DTuple::equalZero() const + sal_Bool B2DTuple::equalZero() const { return (this == &maEmptyTuple || (::basegfx::numeric::fTools::equalZero(mfX) && ::basegfx::numeric::fTools::equalZero(mfY))); } - bool B2DTuple::equalZero(const double& rfSmallValue) const + sal_Bool B2DTuple::equalZero(const double& rfSmallValue) const { return (this == &maEmptyTuple || (::basegfx::numeric::fTools::equalZero(mfX, rfSmallValue) && ::basegfx::numeric::fTools::equalZero(mfY, rfSmallValue))); } - bool B2DTuple::equal(const B2DTuple& rTup) const + sal_Bool B2DTuple::equal(const B2DTuple& rTup) const { return ( ::basegfx::numeric::fTools::equal(mfX, rTup.mfX) && ::basegfx::numeric::fTools::equal(mfY, rTup.mfY)); } - bool B2DTuple::equal(const B2DTuple& rTup, const double& rfSmallValue) const + sal_Bool B2DTuple::equal(const B2DTuple& rTup, const double& rfSmallValue) const { return ( ::basegfx::numeric::fTools::equal(mfX, rTup.mfX, rfSmallValue) && -- cgit