diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 5115f6a187bd..f2ea303e849b 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -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;