summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-07-05 14:43:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-07-06 11:08:34 +0200
commit62127bb799178dfe91ab005db0aad732b85ac1a1 (patch)
tree826dc69225f373383ed4565597f2ecb3d3fe99ab /include
parentc70710e334ae89681d25055955c2228e5a22f0c2 (diff)
DrawTextFlags::HideMnemonic is unused
ever since commit 3fbae5dc7e7b200776bbc8a7c2a43e1e04f15a2b Author: Caolán McNamara <caolanm@redhat.com> Date: Thu Aug 5 14:57:59 2021 +0100 gtk is the only case auto-accel is true, and the menubar is native gtk there Change-Id: I209a410a231952dcbbb587ed6034fcfec77eaead Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154059 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/rendercontext/DrawTextFlags.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/vcl/rendercontext/DrawTextFlags.hxx b/include/vcl/rendercontext/DrawTextFlags.hxx
index e393bcd2ceaa..4eb4c45b60f9 100644
--- a/include/vcl/rendercontext/DrawTextFlags.hxx
+++ b/include/vcl/rendercontext/DrawTextFlags.hxx
@@ -41,11 +41,10 @@ enum class DrawTextFlags
NewsEllipsis = 0x00004000,
WordBreakHyphenation = 0x00008000 | WordBreak,
CenterEllipsis = 0x00010000,
- HideMnemonic = 0x00020000,
};
namespace o3tl
{
-template <> struct typed_flags<DrawTextFlags> : is_typed_flags<DrawTextFlags, 0x3ffff>
+template <> struct typed_flags<DrawTextFlags> : is_typed_flags<DrawTextFlags, 0x1ffff>
{
};
}