summaryrefslogtreecommitdiff
path: root/include/svx/ipolypolygoneditorcontroller.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-23 15:43:55 +0200
committerNoel Grandin <noel@peralex.com>2016-08-24 08:47:57 +0200
commit9649154f1d844c76ca134d73cd3736452f4f55d4 (patch)
tree98f17b4887dc5d5210c28854ed69c41c2b3d7bb4 /include/svx/ipolypolygoneditorcontroller.hxx
parent8267445b2e923b9de0ebe8c15e928e91c834ab86 (diff)
convert SdrPathSegmentKind to scoped enum
Change-Id: I1f5da7fb90b0100610677279e93b6e02347c120f
Diffstat (limited to 'include/svx/ipolypolygoneditorcontroller.hxx')
-rw-r--r--include/svx/ipolypolygoneditorcontroller.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/svx/ipolypolygoneditorcontroller.hxx b/include/svx/ipolypolygoneditorcontroller.hxx
index 41bdf9249f40..1df104662be7 100644
--- a/include/svx/ipolypolygoneditorcontroller.hxx
+++ b/include/svx/ipolypolygoneditorcontroller.hxx
@@ -32,11 +32,13 @@ enum SdrPathSmoothKind {SDRPATHSMOOTH_DONTCARE, // only for status query
SDRPATHSMOOTH_ASYMMETRIC, // asymmetric, normal Smooth
SDRPATHSMOOTH_SYMMETRIC}; // symmetric
-enum SdrPathSegmentKind {SDRPATHSEGMENT_DONTCARE, // only for status query
- SDRPATHSEGMENT_LINE, // straight path segment
- SDRPATHSEGMENT_CURVE, // curve path segment (Bezier)
- SDRPATHSEGMENT_TOGGLE}; // only for Set: Toggle
-
+enum class SdrPathSegmentKind
+{
+ DontCare, // only for status query
+ Line, // straight path segment
+ Curve, // curve path segment (Bezier)
+ Toggle // only for Set: Toggle
+};
enum class SdrObjClosedKind
{
DontCare, // only for status query