summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-12-18 13:16:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-12-18 21:31:51 +0100
commit9ba11eb2a4c6c18fc265ad51813d9aea57671c1a (patch)
tree5664e9d092339f049d409c5cc4e3f499dcddba80 /sfx2
parent29c5b99832d731071dd201e88d6631c805efe91a (diff)
Delete Category dialog includes '~' text in the titlebar
Change-Id: I8581e5219ffc690e686a0d563463c19b682ea04b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107967 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/templatedlg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index fcf651bafb05..f7d6a1d72210 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -34,6 +34,7 @@
#include <unotools/pathoptions.hxx>
#include <unotools/viewoptions.hxx>
#include <vcl/event.hxx>
+#include <vcl/mnemonic.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
@@ -1200,7 +1201,7 @@ void SfxTemplateManagerDlg::OnCategoryDelete()
SfxTemplateCategoryDialog aDlg(m_xDialog.get());
aDlg.SetCategoryLBEntries(mxLocalView->getFolderNames());
aDlg.HideNewCategoryOption();
- aDlg.set_title(SfxResId(STR_CATEGORY_DELETE));
+ aDlg.set_title(MnemonicGenerator::EraseAllMnemonicChars(SfxResId(STR_CATEGORY_DELETE)));
aDlg.SetSelectLabelText(SfxResId(STR_CATEGORY_SELECT));
if (aDlg.run() == RET_OK)