sc/source/core/tool/compiler.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 8615b106366896d944ff16aa8112d8610a0521e9 Author: Luboš Luňák <[email protected]> AuthorDate: Mon Sep 19 17:50:42 2022 +0200 Commit: Luboš Luňák <[email protected]> CommitDate: Tue Sep 20 08:46:30 2022 +0200 an implicit intersection requires a svDoubleVectorRef This was claiming e.g. =TTEST(A1:A10,B1:B10,1,2) had implicit intersections because the 3rd and 4th arguments were found to be implicit intersections. Change-Id: I9cba7e63330dd170ef0ea1ab03d33a653000e669 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140189 Tested-by: Jenkins Reviewed-by: Luboš Luňák <[email protected]> diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index fd18ad624377..fc97ae0a6bf7 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -6245,7 +6245,8 @@ bool ScCompiler::HandleIIOpCodeInternal(FormulaToken* token, FormulaToken*** ppp bool possibleII = false; for( int i = 0; i < nNumParams; ++i ) { - if( ParameterMayBeImplicitIntersection( token, i )) + if( ParameterMayBeImplicitIntersection( token, i ) + && (*pppToken[i])->GetType() == svDoubleRef) { possibleII = true; break;
