summaryrefslogtreecommitdiff
path: root/scripting/source/provider
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 21:25:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-19 13:19:45 +0200
commit8b663bc830605a0065184b299bea9cd3682d7935 (patch)
tree9dd047c9b6423ba047a6c7a1371ee9f658b7e26d /scripting/source/provider
parent1a5b12aa5da2c718848d3cc5d9bce7bfcdeacf54 (diff)
loplugin:sequentialassign in sd
Change-Id: I7d592b8929ca46c64a622551b039af0d6a7911db Reviewed-on: https://gerrit.libreoffice.org/70716 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scripting/source/provider')
-rw-r--r--scripting/source/provider/URIHelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripting/source/provider/URIHelper.cxx b/scripting/source/provider/URIHelper.cxx
index fb74cba6ab6b..2a09e8dbe5ae 100644
--- a/scripting/source/provider/URIHelper.cxx
+++ b/scripting/source/provider/URIHelper.cxx
@@ -184,8 +184,7 @@ ScriptingFrameworkURIHelper::getLanguagePart(const OUString& rStorageURI)
OUString
ScriptingFrameworkURIHelper::getLanguagePath(const OUString& rLanguagePart)
{
- OUString result;
- result = rLanguagePart.replace('|', '/');
+ OUString result = rLanguagePart.replace('|', '/');
return result;
}