summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-08-04 12:28:55 +0200
committerLászló Németh <nemeth@numbertext.org>2019-08-21 12:20:48 +0200
commit5f979e05ff06e34a6914d76211e000fe7f7ec895 (patch)
tree59bedd7c85ccb64e6d63730f0b00f3a7416cb4ab /sw
parent0d6fcc061c578e52f8cf49bdb65ae535038faabd (diff)
Remove mnemonics from labels used in explanatory label
>Click '_Add...' to select recipients...< looks better w/o underline in MM wizard - Select Address List dialog Change-Id: Iee7303e90a15340aae4a02d968ff6a06dddf50f5 Reviewed-on: https://gerrit.libreoffice.org/76913 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dbui/addresslistdialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/addresslistdialog.cxx b/sw/source/ui/dbui/addresslistdialog.cxx
index 4abc22e3c7ea..be4d6275fb74 100644
--- a/sw/source/ui/dbui/addresslistdialog.cxx
+++ b/sw/source/ui/dbui/addresslistdialog.cxx
@@ -138,8 +138,8 @@ SwAddressListDialog::SwAddressListDialog(SwMailMergeAddressBlockPage* pParent)
m_sConnecting = m_xConnecting->get_label();
const OUString sTemp(m_xDescriptionFI->get_label()
- .replaceFirst("%1", m_xLoadListPB->get_label())
- .replaceFirst("%2", m_xCreateListPB->get_label()));
+ .replaceFirst("%1", m_xLoadListPB->strip_mnemonic(m_xLoadListPB->get_label()))
+ .replaceFirst("%2", m_xCreateListPB->strip_mnemonic(m_xCreateListPB->get_label())));
m_xDescriptionFI->set_label(sTemp);
m_xFilterPB->connect_clicked( LINK( this, SwAddressListDialog, FilterHdl_Impl ));
m_xLoadListPB->connect_clicked( LINK( this, SwAddressListDialog, LoadHdl_Impl ));