summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/swcont.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-13 08:57:18 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-14 06:18:21 +0000
commit2c93e16d65e486524e4d066d68fddcaa5811078b (patch)
treefc096d69033b5e098b4ac322c1bdd489487ab392 /sw/source/uibase/inc/swcont.hxx
parent912c9dd087bb7b3b4340c4cd9ba49ac0d923ae0a (diff)
convert RegionMode to scoped enum
Change-Id: I07041ce4d6571ac384390443293543368f11b7d6 Reviewed-on: https://gerrit.libreoffice.org/18535 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/uibase/inc/swcont.hxx')
-rw-r--r--sw/source/uibase/inc/swcont.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/swcont.hxx b/sw/source/uibase/inc/swcont.hxx
index 836e0dbdfc1e..8eecba29063b 100644
--- a/sw/source/uibase/inc/swcont.hxx
+++ b/sw/source/uibase/inc/swcont.hxx
@@ -45,9 +45,12 @@ class SwContentType;
#define GLOBAL_CONTEXT_COUNT 14
// modes for Drag 'n Drop
-#define REGION_MODE_NONE 0
-#define REGION_MODE_LINK 1
-#define REGION_MODE_EMBEDDED 2
+enum class RegionMode
+{
+ NONE = 0,
+ LINK = 1,
+ EMBEDDED = 2
+};
//mini rtti
class SwTypeNumber