From c85cda1eb461d1b27b49ad746e2b2299908b9e75 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 11 Aug 2015 08:42:08 +0200 Subject: loplugin: defaultparams Change-Id: I5afe7f9f5caa1f5e55c6218bdb3771571ff0dafa --- jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jvmfwk/plugins/sunmajor') 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); -- cgit