summaryrefslogtreecommitdiffstats
path: root/basegfx/test/basegfx2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/test/basegfx2d.cxx')
-rw-r--r--basegfx/test/basegfx2d.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx
index 8f06c6fafece..6abd54250da6 100644
--- a/basegfx/test/basegfx2d.cxx
+++ b/basegfx/test/basegfx2d.cxx
@@ -288,8 +288,8 @@ public:
void check()
{
B2DPolyRange aRange;
- aRange.appendElement(B2DRange(0,0,1,1),ORIENTATION_POSITIVE);
- aRange.appendElement(B2DRange(2,2,3,3),ORIENTATION_POSITIVE);
+ aRange.appendElement(B2DRange(0,0,1,1),B2VectorOrientation::Positive);
+ aRange.appendElement(B2DRange(2,2,3,3),B2VectorOrientation::Positive);
CPPUNIT_ASSERT_MESSAGE("simple poly range - count",
aRange.count() == 2);
@@ -302,7 +302,7 @@ public:
const B2DRange aRect(0,0,1,1);
CPPUNIT_ASSERT_MESSAGE("createPolygonFromRect - correct orientation",
tools::getOrientation(
- tools::createPolygonFromRect(aRect)) == ORIENTATION_POSITIVE );
+ tools::createPolygonFromRect(aRect)) == B2VectorOrientation::Positive );
}
// Change the following lines only, if you add, remove or rename