summaryrefslogtreecommitdiff
path: root/framework/source/accelerators/presethandler.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 08:23:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 14:47:12 +0200
commitbf9f0b2973138652946f2480ede72c54602b854a (patch)
treefd79d9281c3d7661ade8d50ed49769184e581804 /framework/source/accelerators/presethandler.cxx
parent04112bce506c60254cb1cb8536f942c8adb5c7d6 (diff)
loplugin:sequentialassign in framework
Change-Id: I98da731a0f6b72ea0cb890dae2f25992c75a0984 Reviewed-on: https://gerrit.libreoffice.org/70701 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/accelerators/presethandler.cxx')
-rw-r--r--framework/source/accelerators/presethandler.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx
index fc5f0a19ca30..156f1d0b91b7 100644
--- a/framework/source/accelerators/presethandler.cxx
+++ b/framework/source/accelerators/presethandler.cxx
@@ -743,9 +743,7 @@ css::uno::Reference< css::embed::XStorage > PresetHandler::impl_openLocalizedPat
// it doesn't matter, if there is a locale fallback or not
// If creation of storages is allowed, we do it anyway.
// Otherwise we have no acc config at all, which can make other trouble.
- OUString sLocalizedPath;
- sLocalizedPath = sPath;
- sLocalizedPath += "/";
+ OUString sLocalizedPath = sPath + "/";
if (pLocaleFolder != lSubFolders.end())
sLocalizedPath += *pLocaleFolder;
else