[Libreoffice-commits] core.git: sw/source

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Wed Aug 21 10:21:52 UTC 2019


 sw/source/ui/dbui/addresslistdialog.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5f979e05ff06e34a6914d76211e000fe7f7ec895
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Sun Aug 4 12:28:55 2019 +0200
Commit:     László Németh <nemeth at numbertext.org>
CommitDate: Wed Aug 21 12:20:48 2019 +0200

    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 at documentfoundation.org>

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 ));


More information about the Libreoffice-commits mailing list