summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/sfxhelp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 21:26:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-16 12:19:49 +0200
commitf03310eac0162c8b582a0f5f6cb0489d29aaa488 (patch)
tree146f5e5d56ac7ec3a5e98d64704e999a27ea7539 /sfx2/source/appl/sfxhelp.cxx
parentf0d07c5b84300e508d49dfceb968cb6a0dae436c (diff)
loplugin:sequentialassign in sfx2..solenv
Change-Id: I57e11d45aad48713b7c6802e2b6976fd916fc6ba Reviewed-on: https://gerrit.libreoffice.org/70717 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r--sfx2/source/appl/sfxhelp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index c75ada768e88..d2593d468129 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -818,8 +818,7 @@ bool rewriteFlatpakHelpRootUrl(OUString * helpRootUrl) {
// Extract <sha> from ...;org.libreoffice.LibreOffice.Help=<sha>;...:
OUString sha;
for (sal_Int32 i = 0;;) {
- OUString elem;
- elem = extensions.getToken(0, ';', i);
+ OUString elem = extensions.getToken(0, ';', i);
if (elem.startsWith("org.libreoffice.LibreOffice.Help=", &sha)) {
break;
}