diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-21 16:31:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-22 18:13:16 +0200 |
commit | 0dc168dfc3a693510e5776109e989ff5f956f7db (patch) | |
tree | fe734e443e3d8daa4119889aa82711ba0ec86446 /include/vcl | |
parent | 25732d7f211ce51fcecbb15ce6d9c551c2715b6e (diff) |
loplugin:unusedenumconstants
Change-Id: I76aadeefce66df93f21b7e45c0e87ab92df45131
Reviewed-on: https://gerrit.libreoffice.org/81324
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/headbar.hxx | 4 | ||||
-rw-r--r-- | include/vcl/salnativewidgets.hxx | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/include/vcl/headbar.hxx b/include/vcl/headbar.hxx index 1636ebc732f2..2afc2049cf7d 100644 --- a/include/vcl/headbar.hxx +++ b/include/vcl/headbar.hxx @@ -185,8 +185,6 @@ enum class HeaderBarItemBits RIGHT = 0x0004, LEFTIMAGE = 0x0010, RIGHTIMAGE = 0x0020, - FIXED = 0x0100, - FIXEDPOS = 0x0200, CLICKABLE = 0x0400, FLAT = 0x0800, DOWNARROW = 0x1000, @@ -196,7 +194,7 @@ enum class HeaderBarItemBits namespace o3tl { - template<> struct typed_flags<HeaderBarItemBits> : is_typed_flags<HeaderBarItemBits, 0x3f37> {}; + template<> struct typed_flags<HeaderBarItemBits> : is_typed_flags<HeaderBarItemBits, 0x3c37> {}; } #define HEADERBAR_APPEND (sal_uInt16(0xFFFF)) diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index 77f0cc72b647..d4401aec0a24 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -219,13 +219,11 @@ enum class ControlState { PRESSED = 0x0004, ROLLOVER = 0x0008, DEFAULT = 0x0020, - SELECTED = 0x0040, - DOUBLEBUFFERING = 0x4000, ///< Set when the control is painted using double-buffering via VirtualDevice. - CACHING_ALLOWED = 0x8000, ///< Set when the control is completely visible (i.e. not clipped). + SELECTED = 0x0040 }; namespace o3tl { - template<> struct typed_flags<ControlState> : is_typed_flags<ControlState, 0xc06f> {}; + template<> struct typed_flags<ControlState> : is_typed_flags<ControlState, 0x006f> {}; } /* ButtonValue: |