summaryrefslogtreecommitdiff
path: root/include/svx/ipolypolygoneditorcontroller.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-23 15:26:17 +0200
committerNoel Grandin <noel@peralex.com>2016-08-24 08:47:57 +0200
commit8267445b2e923b9de0ebe8c15e928e91c834ab86 (patch)
tree7f6739ce97435c9187c992fa2bee93ce131e460a /include/svx/ipolypolygoneditorcontroller.hxx
parent3d226bdc444084615b29f79b977ade73fd653240 (diff)
convert SdrObjClosedKind to scoped enum
Change-Id: Icb3a6ce66687ea66f72df956dc695e0a4147365e
Diffstat (limited to 'include/svx/ipolypolygoneditorcontroller.hxx')
-rw-r--r--include/svx/ipolypolygoneditorcontroller.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/svx/ipolypolygoneditorcontroller.hxx b/include/svx/ipolypolygoneditorcontroller.hxx
index ebd9eabd6bf3..41bdf9249f40 100644
--- a/include/svx/ipolypolygoneditorcontroller.hxx
+++ b/include/svx/ipolypolygoneditorcontroller.hxx
@@ -37,9 +37,12 @@ enum SdrPathSegmentKind {SDRPATHSEGMENT_DONTCARE, // only for status query
SDRPATHSEGMENT_CURVE, // curve path segment (Bezier)
SDRPATHSEGMENT_TOGGLE}; // only for Set: Toggle
-enum SdrObjClosedKind {SDROBJCLOSED_DONTCARE, // only for status query
- SDROBJCLOSED_OPEN, // non-closed object (line, polyline, ...)
- SDROBJCLOSED_CLOSED}; // closed object (polygon, ...)
+enum class SdrObjClosedKind
+{
+ DontCare, // only for status query
+ Open, // non-closed object (line, polyline, ...)
+ Closed // closed object (polygon, ...)
+};
class IPolyPolygonEditorController
{