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

Use indexed getToken()

Change-Id: I3f34ccb4253c587088f621f914b315e56f96008f
Reviewed-on: https://gerrit.libreoffice.org/68123
Tested-by: Jenkins
Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst fe1322f8
......@@ -4044,8 +4044,9 @@ void ScCompiler::AutoCorrectParsedSymbol()
const ScAddress::Details aDetails( pConv->meConv, aPos );
if ( nRefs == 2 )
{
aRef[0] = aSymbol.getToken( 0, ':' );
aRef[1] = aSymbol.getToken( 1, ':' );
sal_Int32 nIdx{ 0 };
aRef[0] = aSymbol.getToken( 0, ':', nIdx );
aRef[1] = aSymbol.getToken( 0, ':', nIdx );
}
else
aRef[0] = aSymbol;
......
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