diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-06 11:42:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-06 11:36:17 +0000 |
commit | fde0b8df30a65412afd5278a0dfd23ac30f62dc6 (patch) | |
tree | 3e373d73bf50c64bc4a01af4bd254f83628ea5fc /include | |
parent | 3ea39bda0e948fde338bd9493639f4a6e8a8ea5b (diff) |
loplugin:unusedenumconstants in oox
Convert FragmentHandler2::MCE_STATE to scoped enum and drop MCE_UNUSED
constant
Change-Id: Id0b3a81e61d77af5d3837527b008e196835f57cd
Reviewed-on: https://gerrit.libreoffice.org/33954
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/core/fragmenthandler2.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/oox/core/fragmenthandler2.hxx b/include/oox/core/fragmenthandler2.hxx index 9c728709bdee..f32ee1064ab5 100644 --- a/include/oox/core/fragmenthandler2.hxx +++ b/include/oox/core/fragmenthandler2.hxx @@ -52,11 +52,10 @@ class XmlFilterBase; class OOX_DLLPUBLIC FragmentHandler2 : public FragmentHandler, public ContextHandler2Helper { protected: - enum MCE_STATE + enum class MCE_STATE { - MCE_UNUSED, - MCE_STARTED, - MCE_FOUND_CHOICE + Started, + FoundChoice }; ::std::vector<MCE_STATE> aMceState; |