From 62127bb799178dfe91ab005db0aad732b85ac1a1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Jul 2023 14:43:05 +0200 Subject: DrawTextFlags::HideMnemonic is unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ever since commit 3fbae5dc7e7b200776bbc8a7c2a43e1e04f15a2b Author: Caolán McNamara 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 --- include/vcl/rendercontext/DrawTextFlags.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') 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 : is_typed_flags +template <> struct typed_flags : is_typed_flags { }; } -- cgit