summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh/wrtundo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/wrtsh/wrtundo.cxx')
-rw-r--r--sw/source/uibase/wrtsh/wrtundo.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/wrtsh/wrtundo.cxx b/sw/source/uibase/wrtsh/wrtundo.cxx
index 27c7f0e34ed6..293b130405e4 100644
--- a/sw/source/uibase/wrtsh/wrtundo.cxx
+++ b/sw/source/uibase/wrtsh/wrtundo.cxx
@@ -25,6 +25,7 @@
#include <swdtflvr.hxx>
#include <svtools/svtresid.hxx>
#include <svtools/strings.hrc>
+#include <vcl/mnemonic.hxx>
// Undo ends all modes. If a selection is emerged by the Undo,
// this must be considered for further action.
@@ -108,7 +109,7 @@ OUString SwWrtShell::GetDoString( DoType eDoType ) const
default:;//prevent warning
}
- return SvtResId(pResStr) + aUndoStr;
+ return MnemonicGenerator::EraseAllMnemonicChars(SvtResId(pResStr)) + aUndoStr;
}
void SwWrtShell::GetDoStrings( DoType eDoType, SfxStringListItem& rStrs ) const