summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:45:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:45:53 +0200
commit46e6f92615336a8eaeef8459b6374d5a5165bf6e (patch)
treec29d79faff5de1f238c6afd04bb1ba140315ec7e /jvmfwk
parent3c9e9a5529e0bb6cc257c272b7265072306a9cd6 (diff)
loplugin:oncevar: empty strings: jvmfwk
Change-Id: Ic021968b648359d94e7e44d59606b25a6f6ce8c3
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/source/fwkbase.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx
index 6830b9f00a55..2c24017f1846 100644
--- a/jvmfwk/source/fwkbase.cxx
+++ b/jvmfwk/source/fwkbase.cxx
@@ -436,10 +436,9 @@ JFW_MODE getMode()
OUString getApplicationClassPath()
{
OSL_ASSERT(getMode() == JFW_MODE_APPLICATION);
- OUString retVal;
OUString sParams = BootParams::getClasspathUrls();
if (sParams.isEmpty())
- return retVal;
+ return OUString();
OUStringBuffer buf;
sal_Int32 index = 0;