diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2019-02-23 20:04:41 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2019-03-18 12:25:24 +0100 |
commit | e8d8b8270ba1ec2d49ad43b70287e60cb18a3e61 (patch) | |
tree | c5d776a79f55037e9bd96fe1f957b346b0039003 /jvmfwk | |
parent | c9bbe8ed69f9cc14b05e2147136725822f7e45ef (diff) |
Index is not needed for single getToken call
Change-Id: Ia0cc331998d735002dda5eedff8dad3bfbd53979
Reviewed-on: https://gerrit.libreoffice.org/69235
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/source/fwkbase.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx index 2286fd9b1e17..db91bdeb38f4 100644 --- a/jvmfwk/source/fwkbase.cxx +++ b/jvmfwk/source/fwkbase.cxx @@ -79,8 +79,7 @@ OUString getParamFirstUrl(OUString const & name) // Some parameters can consist of multiple URLs (separated by space // characters, although trim() harmlessly also removes other white-space), // of which only the first is used: - sal_Int32 i = 0; - return getParam(name).trim().getToken(0, ' ', i); + return getParam(name).trim().getToken(0, ' '); } }//blind namespace |