sc/source/core/tool/compiler.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit a03c8081b55f1a156a4ef6795afe8daa702589e9 Author: Matteo Casalin <matteo.casa...@yahoo.com> AuthorDate: Mon Feb 18 00:02:32 2019 +0100 Commit: Matteo Casalin <matteo.casa...@yahoo.com> CommitDate: Tue Mar 5 22:32:48 2019 +0100 Use indexed getToken() Change-Id: I3f34ccb4253c587088f621f914b315e56f96008f Reviewed-on: https://gerrit.libreoffice.org/68123 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casa...@yahoo.com> 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits