From 5f979e05ff06e34a6914d76211e000fe7f7ec895 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sun, 4 Aug 2019 12:28:55 +0200 Subject: 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 --- sw/source/ui/dbui/addresslistdialog.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') 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 )); -- cgit