sc/source/core/tool/compiler.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d25a3c4bc9aa57ab5db1028a01cc19dbcf75cfe7
Author:     Karthik Godha <[email protected]>
AuthorDate: Mon Jan 5 18:49:37 2026 +0530
Commit:     Michael Stahl <[email protected]>
CommitDate: Thu Jan 15 16:49: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/+/197324
    Tested-by: Michael Stahl <[email protected]>

diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index c5d53586080f..d0a1ee5dc361 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -5430,7 +5430,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() 
);
         }

Reply via email to