loplugin:oncevar: empty strings: stoc

Change-Id: Ib38846e6f89697e8c9c82b77f01cdafae32714d0
This commit is contained in:
Stephan Bergmann
2017-07-13 11:45:01 +02:00
parent f863d377b8
commit 75fd528048

View File

@@ -285,8 +285,6 @@ OUString searchLinkTargetForImpl(const Reference < XRegistryKey >& xRootKey,
const OUString& implName) const OUString& implName)
// throw ( InvalidRegistryException, RuntimeException ) // throw ( InvalidRegistryException, RuntimeException )
{ {
OUString ret;
// try // try
// { // {
const StringPool & pool = spool(); const StringPool & pool = spool();
@@ -318,7 +316,7 @@ OUString searchLinkTargetForImpl(const Reference < XRegistryKey >& xRootKey,
// { // {
// } // }
return ret; return OUString();
} }