Do not use indexed getToken for a single call
Change-Id: Ib1026754a7db034af5910d84d008d0ef997ebb96 Reviewed-on: https://gerrit.libreoffice.org/65672 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
This commit is contained in:
parent
86daabed8b
commit
83e7d9e084
1 changed files with 1 additions and 2 deletions
|
@ -700,8 +700,7 @@ Reference< XInterface > ORegistryFactoryHelper::createModuleFactory()
|
|||
{
|
||||
aActivatorUrl = xActivatorKey->getAsciiValue();
|
||||
|
||||
sal_Int32 nIndex = 0;
|
||||
aActivatorName = aActivatorUrl.getToken(0, ':', nIndex );
|
||||
aActivatorName = aActivatorUrl.getToken(0, ':');
|
||||
|
||||
Reference<XRegistryKey > xLocationKey = xImplementationKey->openKey(
|
||||
"/UNO/LOCATION" );
|
||||
|
|
Loading…
Reference in a new issue