diff options
Diffstat (limited to 'basegfx/test')
-rw-r--r-- | basegfx/test/boxclipper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/test/boxclipper.cxx b/basegfx/test/boxclipper.cxx index d1104682f910..0847a39333b1 100644 --- a/basegfx/test/boxclipper.cxx +++ b/basegfx/test/boxclipper.cxx @@ -52,7 +52,7 @@ double getRandomOrdinal( const ::std::size_t n ) inline bool compare(const B2DPoint& left, const B2DPoint& right) { return left.getX()<right.getX() - || (left.getX()==right.getX() && left.getY()<right.getY()); + || (rtl::math::approxEqual(left.getX(),right.getX()) && left.getY()<right.getY()); } class boxclipper : public CppUnit::TestFixture |