summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:45:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:45:01 +0200
commit75fd528048885033b0963600667c042834769de7 (patch)
treeb3082a41b31b38b9e4d8ec87a71fb749ac2a5aaa /stoc
parentf863d377b84c2e3c44369b73372e2dfa86b42723 (diff)
loplugin:oncevar: empty strings: stoc
Change-Id: Ib38846e6f89697e8c9c82b77f01cdafae32714d0
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 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();
}