summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-14 14:50:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-15 08:33:37 +0200
commite1c4dbdbe12fb6c87605547fbc0ee6dc7c357d98 (patch)
tree7a831d1796fb8179b5b31f8fa7d44698155415d5 /include
parent89c24a380a8fb5dd94ba595ce421abafa9004b9a (diff)
convert SvxIconChoiceCtrlTextMode to scoped enum
and drop unused DontKnow enumerator Change-Id: Ida06ae702e45d489765f970bbbdab6d762293c6c
Diffstat (limited to 'include')
-rw-r--r--include/svtools/ivctrl.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx
index ec1d0cfdfcb7..ea7116e64b0b 100644
--- a/include/svtools/ivctrl.hxx
+++ b/include/svtools/ivctrl.hxx
@@ -49,11 +49,10 @@ namespace o3tl
template<> struct typed_flags<SvxIconViewFlags> : is_typed_flags<SvxIconViewFlags, 0x04f7> {};
}
-enum SvxIconChoiceCtrlTextMode
+enum class SvxIconChoiceCtrlTextMode
{
- IcnShowTextFull = 1, // Enlarge BoundRect southwards
- IcnShowTextShort, // Shorten with "..."
- IcnShowTextDontKnow // Settings of the View
+ Full = 1, // Enlarge BoundRect southwards
+ Short // Shorten with "..."
};
enum class SvxIconChoiceCtrlPositionMode