diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2016-03-04 13:22:57 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-03-07 12:44:11 +0000 |
commit | f80bc900eecf2268587e7b7ced5f392a6b1c1c62 (patch) | |
tree | 6787699ff51bacb80ce42d5da3cdc6b316fb3877 /connectivity | |
parent | e013830e996cb571b0f4acebd2776ca3193b663b (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.cxx | 2 |
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; |