summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-24 10:32:03 +0200
committerNoel Grandin <noel@peralex.com>2016-08-25 08:40:00 +0200
commitf9f3426e8210329efdabfc3151c778d649fec129 (patch)
treed93e9a4e2f1405801d0d51b249c21cdcd94c2bbf /include
parentce7eb4c7cbbd48301bbe0c07c42a089271d485d3 (diff)
convert RefMode to scoped enum
Change-Id: I4ecaeaa1fb4989576cb7322048c8ec3a3f3080ae
Diffstat (limited to 'include')
-rw-r--r--include/svx/framelink.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx
index e7ac85c3b7d4..7f3a5ba6e57d 100644
--- a/include/svx/framelink.hxx
+++ b/include/svx/framelink.hxx
@@ -42,24 +42,24 @@ namespace frame {
/** Specifies how the reference points for frame borders are used.
*/
-enum RefMode
+enum class RefMode
{
/** Frame borders are drawn centered to the reference points. */
- REFMODE_CENTERED,
+ Centered,
/** The reference points specify the begin of the frame border width.
The result is that horizontal lines are drawn below, and vertical lines
are drawn right of the reference points.
*/
- REFMODE_BEGIN,
+ Begin,
/** The reference points specify the end of the frame border width.
The result is that horizontal lines are drawn above, and vertical lines
are drawn left of the reference points.
*/
- REFMODE_END
+ End
};