summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorRelease Engineering <releng@openoffice.org>2010-02-01 13:37:42 +0100
committerRelease Engineering <releng@openoffice.org>2010-02-01 13:37:42 +0100
commit8da5fabbe6d9f1dc6e01290c2800c1ddaa686f85 (patch)
tree1f6621d9408a1e9a963d1a9659c50c43cfd75154 /basegfx
parente2427d57503f0e9175544ae1068b4cf9d8369874 (diff)
#i10000# windows build fix, rearranged ifdef
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/test/basegfx2d.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx
index 61c02e8ccdd2..b592a0e84ea6 100644
--- a/basegfx/test/basegfx2d.cxx
+++ b/basegfx/test/basegfx2d.cxx
@@ -489,13 +489,11 @@ public:
// depending on float precision and the getContinuity() implemetation using
// fTools::equal, linux and mac produce more 'C' than 'S' statements, while WIN32
// uses more 'S' statements (as it should be for circles)
- CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates",
#ifdef S390X
- nCount==61
+ CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", nCount==61 );
#else
- nCount==67 || nCount==50
+ CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", nCount==67 || nCount==50 );
#endif
- );
const B2DPolygon aRect(
tools::createPolygonFromRect( B2DRange(0.0,0.0,4000.0,4000.0) ));