diff options
Diffstat (limited to 'stoc/source/implementationregistration/implreg.cxx')
-rw-r--r-- | stoc/source/implementationregistration/implreg.cxx | 4 |
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) { |