sc/source/core/tool/compiler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d6c5410ada718d19403cfeb427c3db0e50d40760 Author: Karthik Godha <[email protected]> AuthorDate: Mon Jan 5 18:49:37 2026 +0530 Commit: Michael Stahl <[email protected]> CommitDate: Tue Jan 27 14:25:46 2026 +0100 tdf#170201: Use #NA! err string for array formulas This is related to 9eed2e4f491cb4f5432157eec77e6f5b525acb8f, instead of using '0' for empty values in array formulas use NotAvailable error string Change-Id: I811745e65d8dd75dbb2e53b918490e7bb66d6cfd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196652 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Michael Stahl <[email protected]> (cherry picked from commit b3d7ab12ac14212aa0bf605eb50b4b9ee1f23b2a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198180 Tested-by: Jenkins diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 4f86f07913ec..4561ad12b050 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -5481,7 +5481,7 @@ void ScCompiler::CreateStringFromMatrix( OUStringBuffer& rBuffer, const FormulaT } } else if( pMatrix->IsEmpty( nC, nR ) ) - ; + rBuffer.append(ScGlobal::GetErrorString(FormulaError::NotAvailable)); else if( pMatrix->IsStringOrEmpty( nC, nR ) ) AppendString( rBuffer, pMatrix->GetString(nC, nR).getString() ); }
