summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 08:54:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-11 15:43:54 +0100
commitbd20461c21b09d950edb6b798448d5b04fbeffc6 (patch)
treefe6e842c64064e40f9dfc59f08fe2e38fb11aadd /sw/inc
parent818d04478ddddb9d775a638062f19ea0d26a4054 (diff)
convert SwLabelType to scoped enum
Change-Id: I7e842ad3446e0209732f1eb49f2f78da89db18b7 Reviewed-on: https://gerrit.libreoffice.org/84921 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/swtypes.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx
index 03f136e2ea34..1bb96fb329e9 100644
--- a/sw/inc/swtypes.hxx
+++ b/sw/inc/swtypes.hxx
@@ -84,12 +84,12 @@ const SwTwips lMinBorder = 1134;
// For inserting of captions (what and where to insert).
// It's here because it is not big enough to justify its own hxx
// and does not seem to fit somewhere else.
-enum SwLabelType
+enum class SwLabelType
{
- LTYPE_TABLE, // Caption for a table.
- LTYPE_OBJECT, // Caption for a graphic or OLE.
- LTYPE_FLY, // Caption for a text frame.
- LTYPE_DRAW // Caption for a draw object.
+ Table, // Caption for a table.
+ Object, // Caption for a graphic or OLE.
+ Fly, // Caption for a text frame.
+ Draw // Caption for a draw object.
};
const sal_uInt8 MAXLEVEL = 10;