summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-06-23 16:09:24 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2019-06-25 09:23:22 +0200
commit1c6bac6e003e9f280a29cc83974bdfb3d06b24a9 (patch)
treef7e8adb50dccff2d4e7dc880528ebd4be8170d88 /dbaccess
parent1914932e2fd0598508823464765f3b1ac31236a1 (diff)
Resolves: tdf#125168 label mnemonic appearing in database url
Change-Id: I39531ae2a656c16c7355d73b76cb918d3535f7b0 Reviewed-on: https://gerrit.libreoffice.org/74604 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/curledit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/curledit.cxx b/dbaccess/source/ui/control/curledit.cxx
index 7c8df5e88e21..bca982b7c64e 100644
--- a/dbaccess/source/ui/control/curledit.cxx
+++ b/dbaccess/source/ui/control/curledit.cxx
@@ -79,7 +79,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)