summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 21:27:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-14 08:29:08 +0200
commit8f59317223e0b8e1e5e6e4145b6ee457fe9e15f3 (patch)
tree4ed567d87c66931572848ceeae1004a6f237bc3e /stoc
parent2e3b0c5d42d60d46cd9f8b8eda9424b095c63418 (diff)
loplugin:sequentialassign in starmath..svl
Change-Id: I95d7b67cd8b6b68c087ff96fdb6bb283ab8b49ec Reviewed-on: https://gerrit.libreoffice.org/70718 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/implementationregistration/implreg.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index e463097bb5e6..0fb17520df9f 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -396,9 +396,7 @@ void prepareUserLink(const Reference < XSimpleRegistry >& xDest,
const OUString& linkTarget,
const OUString& implName)
{
- Reference < XRegistryKey > xRootKey;
-
- xRootKey = xDest->getRootKey();
+ Reference < XRegistryKey > xRootKey = xDest->getRootKey();
if (xRootKey->getKeyType(linkName) == RegistryKeyType_LINK)
{