summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-23 14:09:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-23 22:38:20 +0200
commitec266879c7d3764372d093f6e7d5024c5e0cc298 (patch)
tree5e14a8fdda6e39159dc62d3f525f2a2b68ca71d8 /sd/source/ui
parentdfc75c367ccdd0af866e1ca87c62e6c8db11ecd4 (diff)
tdf#125447 get rid of ~ in STR_UNDO string
Change-Id: Ifdd3df50b98641785a4b1d258092efe531e98e7d Reviewed-on: https://gerrit.libreoffice.org/72870 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/view/viewshe3.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx
index 46b4f3df1146..c09b539a34cf 100644
--- a/sd/source/ui/view/viewshe3.cxx
+++ b/sd/source/ui/view/viewshe3.cxx
@@ -79,7 +79,6 @@
#include <basic/sbstar.hxx>
#include <basic/sberrors.hxx>
#include <xmloff/autolayout.hxx>
-#include <vcl/mnemonic.hxx>
using namespace ::com::sun::star;
@@ -172,7 +171,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(MnemonicGenerator::EraseAllMnemonicChars(SvtResId(STR_REDO)));
+ OUString aTmp(SvtResId(STR_REDO));
aTmp += pUndoManager->GetRedoActionComment();
rSet.Put(SfxStringItem(SID_REDO, aTmp));
}