summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-01 09:27:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-01 11:33:51 +0200
commite73688139b1d861a19bddbf5c2fd82de97d0c741 (patch)
treed2c51216d57fc0be8a26bc7a458e24938c4f0a81 /sd/inc
parent3ee0628e269f16f0fee5dde51e90bbf5180413a2 (diff)
convert SnapKind to scoped enum
Change-Id: I56a17f582b66212933077a7de62b3dbe7d3c3af5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91465 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/sdenumdef.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/inc/sdenumdef.hxx b/sd/inc/sdenumdef.hxx
index cb9f9a8def34..d042c7671f12 100644
--- a/sd/inc/sdenumdef.hxx
+++ b/sd/inc/sdenumdef.hxx
@@ -21,7 +21,8 @@
#define INCLUDED_SD_INC_SDENUMDEF_HXX
#define RET_SNAP_DELETE 111
-enum SnapKind { SK_HORIZONTAL, SK_VERTICAL, SK_POINT };
+
+enum class SnapKind { Horizontal, Vertical, Point };
#endif