diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-03 09:32:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-04 08:30:24 +0200 |
commit | 397a0afd3b3dd597f23bfbc75543eaead8bab5d2 (patch) | |
tree | a9eb5993ffd80cc8b88b2f011be10d8167049bd6 /basegfx/test/basegfx2d.cxx | |
parent | 94d92d00fa756ecb1865e56110ceca920fbaa8ac (diff) |
convert B2VectorOrientation to scoped enum
Change-Id: Id7e444bc896ae5d52e5a0bd1b471679c4945afa4
Diffstat (limited to 'basegfx/test/basegfx2d.cxx')
-rw-r--r-- | basegfx/test/basegfx2d.cxx | 6 |
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 |