summaryrefslogtreecommitdiff
path: root/include/vcl/salnativewidgets.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-21 16:31:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-22 18:13:16 +0200
commit0dc168dfc3a693510e5776109e989ff5f956f7db (patch)
treefe734e443e3d8daa4119889aa82711ba0ec86446 /include/vcl/salnativewidgets.hxx
parent25732d7f211ce51fcecbb15ce6d9c551c2715b6e (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/salnativewidgets.hxx')
-rw-r--r--include/vcl/salnativewidgets.hxx6
1 files changed, 2 insertions, 4 deletions
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: