summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-30 15:10:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-01 08:26:49 +0200
commit03516c505eced337149782a67b2ad98c246929b3 (patch)
treec499c7912cf65ebbf13c729782a93adc3f856a55 /i18nlangtag
parent9b3643820bf821c8be728ed20a8cb7ed05cabef2 (diff)
loplugin:stringadd in helpcompiler..oox
Change-Id: I858870d883de10a673d7ce2798bda8c8f511cee5 Reviewed-on: https://gerrit.libreoffice.org/79889 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/source/languagetag/languagetag.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx
index d0ffdb58cd81..7f580dfc9dd3 100644
--- a/i18nlangtag/source/languagetag/languagetag.cxx
+++ b/i18nlangtag/source/languagetag/languagetag.cxx
@@ -204,8 +204,7 @@ void LiblangtagDataRef::setupDataPath()
// Check if data is in our own installation, else assume system
// installation.
- OUString aData( aURL);
- aData += "/language-subtag-registry.xml";
+ OUString aData = aURL + "/language-subtag-registry.xml";
osl::DirectoryItem aDirItem;
if (osl::DirectoryItem::get( aData, aDirItem) == osl::DirectoryItem::E_None)
{