summaryrefslogtreecommitdiff
path: root/include/basegfx/vector/b2enums.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-03 09:32:33 +0200
committerNoel Grandin <noel@peralex.com>2015-06-04 08:30:24 +0200
commit397a0afd3b3dd597f23bfbc75543eaead8bab5d2 (patch)
treea9eb5993ffd80cc8b88b2f011be10d8167049bd6 /include/basegfx/vector/b2enums.hxx
parent94d92d00fa756ecb1865e56110ceca920fbaa8ac (diff)
convert B2VectorOrientation to scoped enum
Change-Id: Id7e444bc896ae5d52e5a0bd1b471679c4945afa4
Diffstat (limited to 'include/basegfx/vector/b2enums.hxx')
-rw-r--r--include/basegfx/vector/b2enums.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/basegfx/vector/b2enums.hxx b/include/basegfx/vector/b2enums.hxx
index b41db31b43b3..f1ba1781ea1b 100644
--- a/include/basegfx/vector/b2enums.hxx
+++ b/include/basegfx/vector/b2enums.hxx
@@ -26,16 +26,16 @@ namespace basegfx
{
/** Descriptor for the mathematical orientations of two 2D Vectors
*/
- enum B2VectorOrientation
+ enum class B2VectorOrientation
{
/// mathematically positive oriented
- ORIENTATION_POSITIVE = 0,
+ Positive = 0,
/// mathematically negative oriented
- ORIENTATION_NEGATIVE,
+ Negative,
/// mathematically neutral, thus parallel
- ORIENTATION_NEUTRAL
+ Neutral
};
/** Descriptor for the mathematical continuity of two 2D Vectors