From bbaeba5b7fe04b67229d96ffe1ab1735d7c86c57 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 23 May 2019 14:03:37 +0100 Subject: Resolves: tdf#125447 mnemonic appearing in tooltip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I570af8f19468730aad714425492f69d05c0a0cf3 Reviewed-on: https://gerrit.libreoffice.org/72852 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sd/source/ui/view/viewshe3.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sd/source/ui') diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx index c09b539a34cf..46b4f3df1146 100644 --- a/sd/source/ui/view/viewshe3.cxx +++ b/sd/source/ui/view/viewshe3.cxx @@ -79,6 +79,7 @@ #include #include #include +#include using namespace ::com::sun::star; @@ -171,7 +172,7 @@ void ViewShell::GetMenuState( SfxItemSet &rSet ) { // Set the necessary string like in // sfx2/source/view/viewfrm.cxx ver 1.23 ln 1081 ff. - OUString aTmp(SvtResId(STR_REDO)); + OUString aTmp(MnemonicGenerator::EraseAllMnemonicChars(SvtResId(STR_REDO))); aTmp += pUndoManager->GetRedoActionComment(); rSet.Put(SfxStringItem(SID_REDO, aTmp)); } -- cgit