diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-23 14:03:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-23 21:12:36 +0200 |
commit | bbaeba5b7fe04b67229d96ffe1ab1735d7c86c57 (patch) | |
tree | 845a2336fb33d13363ef1a712d4cac749b1e2442 /sd | |
parent | ca86d9c5e10ad7ce88d121dc8d9145058aaad782 (diff) |
Resolves: tdf#125447 mnemonic appearing in tooltip
Change-Id: I570af8f19468730aad714425492f69d05c0a0cf3
Reviewed-on: https://gerrit.libreoffice.org/72852
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/viewshe3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 <basic/sbstar.hxx> #include <basic/sberrors.hxx> #include <xmloff/autolayout.hxx> +#include <vcl/mnemonic.hxx> 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)); } |