diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-16 16:08:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-18 11:02:45 +0000 |
commit | e592877844573fa5ab934b7ab3b13aaa33ed621d (patch) | |
tree | 37138edadc35f0fe1a4ee87bcce66e4d756af469 /include | |
parent | 17d7ac5c1a06d29cbeeb3efd245ebf2e6725da12 (diff) |
loplugin:unusedenumvalues
Change-Id: Icf17f936ce6d07d0e152252833c8645cf9b1163b
Reviewed-on: https://gerrit.libreoffice.org/28942
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/bitmap.hxx | 11 | ||||
-rw-r--r-- | include/vcl/graphicfilter.hxx | 4 | ||||
-rw-r--r-- | include/vcl/salnativewidgets.hxx | 7 |
3 files changed, 2 insertions, 20 deletions
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx index d3035bf253f0..13f3df17dcc7 100644 --- a/include/vcl/bitmap.hxx +++ b/include/vcl/bitmap.hxx @@ -71,17 +71,6 @@ namespace o3tl template<> struct typed_flags<BmpDitherFlags> : is_typed_flags<BmpDitherFlags, 0x07> {}; } -enum class BmpVectorizeFlags -{ - Inner = 0x0001, - Outer = 0x0002, - ReduceEdges = 0x0004, -}; -namespace o3tl -{ - template<> struct typed_flags<BmpVectorizeFlags> : is_typed_flags<BmpVectorizeFlags, 0x07> {}; -} - #define BMP_COL_TRANS Color( 252, 3, 251 ) enum BmpConversion diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx index 4102c84ab19e..a32b1013b4ab 100644 --- a/include/vcl/graphicfilter.hxx +++ b/include/vcl/graphicfilter.hxx @@ -126,9 +126,7 @@ enum class GraphicFileFormat WMF = 0x00f6, SGV = 0x00f7, EMF = 0x00f8, - SVG = 0x00f9, - MOV = 0x00fa, - XXX = 0xffff + SVG = 0x00f9 }; diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index 72bae8843207..5d5bd1c2707d 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -78,10 +78,6 @@ enum class ControlType { // all parts like slider, buttons Scrollbar = 60, Slider = 65, -// Border around a group of related -// items, perhaps also displaying -// a label of identification - Groupbox = 70, // A separator line Fixedline = 80, // A toolbar control with buttons and a grip @@ -220,7 +216,6 @@ enum class ControlState { FOCUSED = 0x0002, PRESSED = 0x0004, ROLLOVER = 0x0008, - HIDDEN = 0x0010, DEFAULT = 0x0020, SELECTED = 0x0040, DOUBLEBUFFERING = 0x4000, ///< Set when the control is painted using double-buffering via VirtualDevice. @@ -228,7 +223,7 @@ enum class ControlState { }; namespace o3tl { - template<> struct typed_flags<ControlState> : is_typed_flags<ControlState, 0xc07f> {}; + template<> struct typed_flags<ControlState> : is_typed_flags<ControlState, 0xc06f> {}; } class ControlCacheKey |