summaryrefslogtreecommitdiff
path: root/basegfx/inc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-04-18 08:14:27 +0000
committerOliver Bolte <obo@openoffice.org>2005-04-18 08:14:27 +0000
commitdf092fbb48a9dabd9ecec1bb10523381ade0edc3 (patch)
tree00c23776f5f2b7ccec8808be449b2b724a663983 /basegfx/inc
parent8db5c3e04ad35c81111ba1169255d36610df2278 (diff)
INTEGRATION: CWS presfixes03 (1.10.18); FILE MERGED
2005/04/14 22:56:43 thb 1.10.18.1: #i47428# After fixing the actual bug, it turned out that _background_ objects vanish, when the characters reach their final position. Reason was the generation of equal rectangles, with only the tiniest roundoff difference between them. And the clipper turned that into one huge 'clip nothing' mess. Fixed by using approximate equal now in b2dmultirange
Diffstat (limited to 'basegfx/inc')
-rw-r--r--basegfx/inc/basegfx/range/b1drange.hxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/range/b1drange.hxx b/basegfx/inc/basegfx/range/b1drange.hxx
index 66f5e9c406aa..62caa1e03eb6 100644
--- a/basegfx/inc/basegfx/range/b1drange.hxx
+++ b/basegfx/inc/basegfx/range/b1drange.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b1drange.hxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: rt $ $Date: 2004-11-26 18:34:00 $
+ * last change: $Author: obo $ $Date: 2005-04-18 09:14:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -123,6 +123,16 @@ namespace basegfx
maRange = rRange.maRange;
}
+ bool equal(const B1DRange& rRange) const
+ {
+ return (maRange.equal(rRange.maRange));
+ }
+
+ bool equal(const B1DRange& rRange, const double& rfSmallValue) const
+ {
+ return (maRange.equal(rRange.maRange,rfSmallValue));
+ }
+
double getMinimum() const
{
return maRange.getMinimum();