From 75fd528048885033b0963600667c042834769de7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 13 Jul 2017 11:45:01 +0200 Subject: [PATCH] loplugin:oncevar: empty strings: stoc Change-Id: Ib38846e6f89697e8c9c82b77f01cdafae32714d0 --- stoc/source/implementationregistration/implreg.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx index d32de8ff99d6..d6d2dd457b96 100644 --- a/stoc/source/implementationregistration/implreg.cxx +++ b/stoc/source/implementationregistration/implreg.cxx @@ -285,8 +285,6 @@ OUString searchLinkTargetForImpl(const Reference < XRegistryKey >& xRootKey, const OUString& implName) // throw ( InvalidRegistryException, RuntimeException ) { - OUString ret; - // try // { const StringPool & pool = spool(); @@ -318,7 +316,7 @@ OUString searchLinkTargetForImpl(const Reference < XRegistryKey >& xRootKey, // { // } - return ret; + return OUString(); }