summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-24 10:40:02 +0200
committerNoel Grandin <noel@peralex.com>2016-08-25 08:40:00 +0200
commit07f355c95d7e317ce3878b88d87ac82f20f58ab7 (patch)
tree7393dc6b5bfc2dd9a91583bc8d985984ac77f158 /include/svx
parentf9f3426e8210329efdabfc3151c778d649fec129 (diff)
convert FrameBorderType to scoped enum
Change-Id: I089a981d1d33e15460d66b30ee2b9a91081da781
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/framebordertype.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/svx/framebordertype.hxx b/include/svx/framebordertype.hxx
index fa4385d246b6..2eda996062f1 100644
--- a/include/svx/framebordertype.hxx
+++ b/include/svx/framebordertype.hxx
@@ -26,20 +26,20 @@ namespace svx {
/** Enumerates all borders a frame selection control can contain. */
-enum FrameBorderType
+enum class FrameBorderType
{
- FRAMEBORDER_NONE, /// No border (special state).
- FRAMEBORDER_LEFT, /// Left frame border.
- FRAMEBORDER_RIGHT, /// Right frame border.
- FRAMEBORDER_TOP, /// Top frame border.
- FRAMEBORDER_BOTTOM, /// Bottom frame border.
- FRAMEBORDER_HOR, /// Inner horizontal frame border.
- FRAMEBORDER_VER, /// Inner vertical frame border.
- FRAMEBORDER_TLBR, /// Top-left to bottom-right frame border.
- FRAMEBORDER_BLTR /// Bottom-left to top-right frame border.
+ NONE, /// No border (special state).
+ Left, /// Left frame border.
+ Right, /// Right frame border.
+ Top, /// Top frame border.
+ Bottom, /// Bottom frame border.
+ Horizontal, /// Inner horizontal frame border.
+ Vertical, /// Inner vertical frame border.
+ TLBR, /// Top-left to bottom-right frame border.
+ BLTR /// Bottom-left to top-right frame border.
};
-/** The number of valid frame border types (excluding FRAMEBORDER_NONE). */
+/** The number of valid frame border types (excluding FrameBorderType::NONE). */
const int FRAMEBORDERTYPE_COUNT = 8;
/** Returns the frame border type from a 0-based integer index. */