summaryrefslogtreecommitdiffstats
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-11 13:01:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-11 14:32:40 +0200
commite588aa4d347875eb4c52bd2b51c5c917f807ba6d (patch)
tree449516f28c32cc3ae6adf1a822e46fa60a949e9c /sd/inc
parentconvert EditMode to scoped enum (diff)
downloadcore-e588aa4d347875eb4c52bd2b51c5c917f807ba6d.tar.gz
core-e588aa4d347875eb4c52bd2b51c5c917f807ba6d.zip
convert PageKind to scoped enum
Change-Id: I7f90cf2e96b72031bcfff558794e6cb42ea408e8
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/pres.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sd/inc/pres.hxx b/sd/inc/pres.hxx
index 367e631c6ac7..ab816d5a95f8 100644
--- a/sd/inc/pres.hxx
+++ b/sd/inc/pres.hxx
@@ -101,11 +101,12 @@ enum AutoLayout
AUTOLAYOUT_END
};
-enum PageKind
+enum class PageKind
{
- PK_STANDARD,
- PK_NOTES,
- PK_HANDOUT
+ Standard,
+ Notes,
+ Handout,
+ LAST = Handout
};
enum class EditMode