summaryrefslogtreecommitdiff
path: root/include/vcl/EnumContext.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-21 09:28:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-21 10:34:13 +0000
commit735a002507e914bc0c35504a85dc0585b25b76ce (patch)
treeacd91105fa2d9128cc10b7f2118cef23b8015921 /include/vcl/EnumContext.hxx
parentc95293de347597bb32d3c4aa5429b21385cae97a (diff)
convert EnumContext::Context to scoped enum
Change-Id: I16ec63beb801073e5d604d852892c2fd6e8d8fc3 Reviewed-on: https://gerrit.libreoffice.org/32272 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/EnumContext.hxx')
-rw-r--r--include/vcl/EnumContext.hxx74
1 files changed, 37 insertions, 37 deletions
diff --git a/include/vcl/EnumContext.hxx b/include/vcl/EnumContext.hxx
index e0f19b002368..f96265c27278 100644
--- a/include/vcl/EnumContext.hxx
+++ b/include/vcl/EnumContext.hxx
@@ -61,53 +61,53 @@ public:
LAST = Application::NONE
};
- enum Context
+ enum class Context
{
- Context_3DObject,
- Context_Annotation,
- Context_Auditing,
- Context_Axis,
- Context_Cell,
- Context_Chart,
- Context_ChartElements,
- Context_Draw,
- Context_DrawLine,
- Context_DrawPage,
- Context_DrawText,
- Context_EditCell,
- Context_ErrorBar,
- Context_Form,
- Context_Frame,
- Context_Graphic,
- Context_Grid,
- Context_HandoutPage,
- Context_MasterPage,
- Context_Media,
- Context_MultiObject,
- Context_NotesPage,
- Context_OLE,
- Context_OutlineText,
- Context_Pivot,
- Context_Series,
- Context_SlidesorterPage,
- Context_Table,
- Context_Text,
- Context_TextObject,
- Context_Trendline,
+ ThreeDObject,
+ Annotation,
+ Auditing,
+ Axis,
+ Cell,
+ Chart,
+ ChartElements,
+ Draw,
+ DrawLine,
+ DrawPage,
+ DrawText,
+ EditCell,
+ ErrorBar,
+ Form,
+ Frame,
+ Graphic,
+ Grid,
+ HandoutPage,
+ MasterPage,
+ Media,
+ MultiObject,
+ NotesPage,
+ OLE,
+ OutlineText,
+ Pivot,
+ Series,
+ SlidesorterPage,
+ Table,
+ Text,
+ TextObject,
+ Trendline,
// Default context of an application. Do we need this?
- Context_Default,
+ Default,
// Used only by deck or panel descriptors. Matches any context.
- Context_Any,
+ Any,
// Special context name that is only used when a deck would
// otherwise be empty.
- Context_Empty,
+ Empty,
- Context_Unknown,
+ Unknown,
- LastContextEnum = Context_Unknown
+ LAST = Unknown
};
EnumContext();