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 /sfx2 | |
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 'sfx2')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 2ee2b9c82976..4741a519d903 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -35,6 +35,7 @@ #include <officecfg/Office/Common.hxx> #include <officecfg/Setup.hxx> #include <toolkit/helper/vclunohelper.hxx> +#include <vcl/mnemonic.hxx> #include <vcl/splitwin.hxx> #include <unotools/moduleoptions.hxx> #include <svl/intitem.hxx> @@ -997,7 +998,7 @@ void SfxViewFrame::StateHistory_Impl( SfxItemSet &rSet ) } else { - rSet.Put( SfxStringItem( SID_REDO, SvtResId(STR_REDO)+pShUndoMgr->GetRedoActionComment() ) ); + rSet.Put( SfxStringItem( SID_REDO, MnemonicGenerator::EraseAllMnemonicChars(SvtResId(STR_REDO))+pShUndoMgr->GetRedoActionComment() ) ); } } else |