diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:17 +0200 |
commit | c85cda1eb461d1b27b49ad746e2b2299908b9e75 (patch) | |
tree | 1df53d37d1107029ef6a0761d302afb6d4f58abb /jvmfwk/plugins/sunmajor | |
parent | f1639b21507c04a4dfe152776224370eef7088df (diff) |
loplugin: defaultparams
Change-Id: I5afe7f9f5caa1f5e55c6218bdb3771571ff0dafa
Diffstat (limited to 'jvmfwk/plugins/sunmajor')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 18dac9b0055e..9a60c3a9232a 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -521,7 +521,7 @@ bool getJavaProps(const OUString & exePath, if (sLine.isEmpty()) continue; //The JREProperties class writes key value pairs, separated by '=' - sal_Int32 index = sLine.indexOf('=', 0); + sal_Int32 index = sLine.indexOf('='); OSL_ASSERT(index != -1); OUString sKey = sLine.copy(0, index); OUString sVal = sLine.copy(index + 1); |