diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-10 10:28:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-10 12:19:50 +0200 |
commit | 367fedcc4456a74cb2fc29a28279bef314bd47ff (patch) | |
tree | a63115d6cfa2b2a2e3c2c4d3a55f623e7ecfd6d5 /include | |
parent | 183b0b0b6038ec1fafb9f65024a846c90493a873 (diff) |
loplugin:unusedenumconstants
Change-Id: I54c0c1fca8ea5c89e71c6cd1110fad081ed3d334
Reviewed-on: https://gerrit.libreoffice.org/40953
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/imagemgr.hxx | 1 | ||||
-rw-r--r-- | include/svx/svdmrkv.hxx | 3 | ||||
-rw-r--r-- | include/vcl/vclenum.hxx | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/include/svtools/imagemgr.hxx b/include/svtools/imagemgr.hxx index 7d97842997cb..e76077a35a64 100644 --- a/include/svtools/imagemgr.hxx +++ b/include/svtools/imagemgr.hxx @@ -63,7 +63,6 @@ enum class SvImageId { GlobalDoc = START + 150, Draw = START + 151, DrawTemplate = START + 152, - Template = START + 166, OO_DatabaseDoc = START + 169, OO_DrawDoc = START + 170, OO_MathDoc = START + 171, diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx index 96b9b2343814..b4068bf6e744 100644 --- a/include/svx/svdmrkv.hxx +++ b/include/svx/svdmrkv.hxx @@ -42,7 +42,6 @@ enum class SdrSearchOptions WITHTEXT = 0x0040, /* Just objects with text */ TESTTEXTAREA = 0x0080, /* The textarea of objects with text (TextEditHit) */ BACKWARD = 0x0100, /* Backwards search */ - NEXT = 0x0200, /* Search starts behind the transferred object/point/... */ MARKED = 0x0400, /* Just marked objects/points/... */ PASS2BOUND = 0x0800, /* In case of empty search results, then 2nd. try with BoundRectHit */ PASS3NEAREST = 0x1000, /* In case of empty search results, then new 3rd. Try with NearestBoundRectHit */ @@ -55,7 +54,7 @@ enum class SdrSearchOptions }; namespace o3tl { - template<> struct typed_flags<SdrSearchOptions> : is_typed_flags<SdrSearchOptions, 0xbfff> {}; + template<> struct typed_flags<SdrSearchOptions> : is_typed_flags<SdrSearchOptions, 0xbdff> {}; } enum class SdrHitKind diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx index 15711cb9ea04..02c49e2c87d7 100644 --- a/include/vcl/vclenum.hxx +++ b/include/vcl/vclenum.hxx @@ -39,7 +39,6 @@ enum class MenuItemBits : sal_Int16 CHECKABLE = 0x0001, RADIOCHECK = 0x0002, AUTOCHECK = 0x0004, - ABOUT = 0x0008, HELP = 0x0010, POPUPSELECT = 0x0020, // These have been said to be a preliminary (sic) solution since 2007 @@ -49,7 +48,7 @@ enum class MenuItemBits : sal_Int16 }; namespace o3tl { - template<> struct typed_flags<MenuItemBits> : is_typed_flags<MenuItemBits, 0x1ff> {}; + template<> struct typed_flags<MenuItemBits> : is_typed_flags<MenuItemBits, 0x1f7> {}; } enum class ToolBoxItemBits |