Use indexed getToken()
Change-Id: I3f34ccb4253c587088f621f914b315e56f96008f Reviewed-on: https://gerrit.libreoffice.org/68123 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
This commit is contained in:
@@ -4044,8 +4044,9 @@ void ScCompiler::AutoCorrectParsedSymbol()
|
|||||||
const ScAddress::Details aDetails( pConv->meConv, aPos );
|
const ScAddress::Details aDetails( pConv->meConv, aPos );
|
||||||
if ( nRefs == 2 )
|
if ( nRefs == 2 )
|
||||||
{
|
{
|
||||||
aRef[0] = aSymbol.getToken( 0, ':' );
|
sal_Int32 nIdx{ 0 };
|
||||||
aRef[1] = aSymbol.getToken( 1, ':' );
|
aRef[0] = aSymbol.getToken( 0, ':', nIdx );
|
||||||
|
aRef[1] = aSymbol.getToken( 0, ':', nIdx );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
aRef[0] = aSymbol;
|
aRef[0] = aSymbol;
|
||||||
|
Reference in New Issue
Block a user