summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2016-03-04 13:22:57 +0100
committerMichael Stahl <mstahl@redhat.com>2016-03-07 12:44:11 +0000
commitf80bc900eecf2268587e7b7ced5f392a6b1c1c62 (patch)
tree6787699ff51bacb80ce42d5da3cdc6b316fb3877 /connectivity
parente013830e996cb571b0f4acebd2776ca3193b663b (diff)
When not changing the value of a string parameter, use const OUString&,
Change-Id: Id82a62bb437e09137a643c191ad56745daea0e38 Reviewed-on: https://gerrit.libreoffice.org/22895 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_databasemetadata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 14cb74e07638..2b349db6c100 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -2194,7 +2194,7 @@ static sal_Int32 getMaxScale( sal_Int32 dataType )
namespace
{
- OUString construct_full_typename(OUString ns, OUString tn)
+ OUString construct_full_typename(const OUString &ns, const OUString &tn)
{
if(ns.isEmpty() || ns == "pg_catalog")
return tn;