From f6664e1a485f459d010c344af100f9d337941a7c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 23 Jun 2019 16:09:24 +0100 Subject: Resolves: tdf#125168 label mnemonic appearing in database url MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I39531ae2a656c16c7355d73b76cb918d3535f7b0 Reviewed-on: https://gerrit.libreoffice.org/74602 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- dbaccess/source/ui/control/curledit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess/source/ui/control') diff --git a/dbaccess/source/ui/control/curledit.cxx b/dbaccess/source/ui/control/curledit.cxx index 3568f482c8fa..eadc67c6de30 100644 --- a/dbaccess/source/ui/control/curledit.cxx +++ b/dbaccess/source/ui/control/curledit.cxx @@ -78,7 +78,7 @@ void OConnectionURLEdit::SetText(const OUString& _rStr, const Selection& /*_rNew OUString OConnectionURLEdit::GetText() const { - return m_xForcedPrefix->get_label() + m_xEntry->get_text(); + return m_xForcedPrefix->strip_mnemonic(m_xForcedPrefix->get_label()) + m_xEntry->get_text(); } void OConnectionURLEdit::ShowPrefix(bool _bShowPrefix) -- cgit