summaryrefslogtreecommitdiff
path: root/include/svx/rectenum.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-30 08:22:20 +0200
committerNoel Grandin <noel@peralex.com>2016-08-30 08:40:03 +0200
commitb62f4c2cd9685618fff2270760ce0787880f1c8d (patch)
tree31dd6705a99ec9070aef1e57c5ad0e6be13bf30f /include/svx/rectenum.hxx
parentcbea925b367535eb2652a2c8fa80b4cc746d95bd (diff)
convert RECT_POINT to scoped enum
Change-Id: I3f0304d69d5d638230b64135c73497192dc00cb3
Diffstat (limited to 'include/svx/rectenum.hxx')
-rw-r--r--include/svx/rectenum.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/svx/rectenum.hxx b/include/svx/rectenum.hxx
index 9ca2e6546d9c..817df20ef8d9 100644
--- a/include/svx/rectenum.hxx
+++ b/include/svx/rectenum.hxx
@@ -21,9 +21,17 @@
// enum ------------------------------------------------------------------
-enum RECT_POINT
+enum class RectPoint
{
- RP_LT, RP_MT, RP_RT, RP_LM, RP_MM, RP_RM, RP_LB, RP_MB, RP_RB
+ LT, // top left
+ MT, // top center
+ RT, // top right
+ LM, // left center
+ MM, // center
+ RM, // right center
+ LB, // bottom left
+ MB, // bottom center
+ RB // bottom right
};
enum class CTL_STYLE