summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-23 07:54:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-23 10:29:38 +0200
commitedc85fb55f8adc30a1416c6c854c89097060fb21 (patch)
treedaf9701247beee33cdb6af9d0486d1ba9a0932f7 /lingucomponent
parent86cce1343ca5ed85eece1c9d065f9f861d57f9d9 (diff)
clang-tidy performance-unnecessary-copy-init in idl..reportdesign
Change-Id: I4b2eda375bbfe1ba35a45168515d885935adcb76 Reviewed-on: https://gerrit.libreoffice.org/62217 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/lingutil/lingutil.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lingucomponent/source/lingutil/lingutil.cxx b/lingucomponent/source/lingutil/lingutil.cxx
index ab36d54f416a..76c79aba698a 100644
--- a/lingucomponent/source/lingutil/lingutil.cxx
+++ b/lingucomponent/source/lingutil/lingutil.cxx
@@ -112,7 +112,7 @@ static void GetOldStyleDicsInDir(
continue;
// Thus we first get the language of the dictionary
- OUString aLocaleName(aLangTag.getBcp47());
+ const OUString& aLocaleName(aLangTag.getBcp47());
if (aDicLangInUse.insert(aLocaleName).second)
{