Kaydet (Commit) 972b9968 authored tarafından Matteo Casalin's avatar Matteo Casalin

Avoid index for single getToken() call

Change-Id: I907c108f4b056d3388464e29ce2fc40b319380c0
Reviewed-on: https://gerrit.libreoffice.org/67627
Tested-by: Jenkins
Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst bd0ba6d4
......@@ -1362,8 +1362,7 @@ void ImplementationRegistration::prepareRegister(
if (!implementationLoaderUrl.isEmpty())
{
sal_Int32 nIndex = 0;
activatorName = implementationLoaderUrl.getToken(0, ':', nIndex );
activatorName = implementationLoaderUrl.getToken(0, ':');
} else
{
// check locationUrl to find out what kind of loader is needed
......@@ -1494,8 +1493,7 @@ Sequence< OUString > ImplementationRegistration::getImplementations(
if (!implementationLoaderUrl.isEmpty())
{
sal_Int32 nIndex = 0;
activatorName = implementationLoaderUrl.getToken(0, ':', nIndex );
activatorName = implementationLoaderUrl.getToken(0, ':');
} else
{
// check locationUrl to find out what kind of loader is needed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment