summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/ConnectionHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-23 07:47:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-23 14:34:59 +0200
commit32ca870833a89ec16ed7e08296dcc573dcc64029 (patch)
treebe4eb8d0382db032b7ddfe22df6303fd86ac2c15 /dbaccess/source/ui/dlg/ConnectionHelper.cxx
parent509c017f5a6ee6b7c1bb9b61b36aef58a06afd27 (diff)
clang-tidy performance-unnecessary-copy-init in dbaccess..drawinglayer
Change-Id: I49a152b2aea93d30b16192260f4f659c7e5fcaee Reviewed-on: https://gerrit.libreoffice.org/62215 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/dlg/ConnectionHelper.cxx')
-rw-r--r--dbaccess/source/ui/dlg/ConnectionHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.cxx b/dbaccess/source/ui/dlg/ConnectionHelper.cxx
index fe0ba4585089..79b65147c57a 100644
--- a/dbaccess/source/ui/dlg/ConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/ConnectionHelper.cxx
@@ -138,7 +138,7 @@ namespace dbaui
// forward the values to the controls
if ( bValid )
{
- OUString sUrl = pUrlItem->GetValue();
+ const OUString& sUrl = pUrlItem->GetValue();
setURL( sUrl );
checkTestConnection();