04a7ee1
diff -U 3 -dHrN a/sc/inc/arraysumfunctor.hxx b/sc/inc/arraysumfunctor.hxx
04a7ee1
--- a/sc/inc/arraysumfunctor.hxx	2023-09-22 21:07:01.000000000 +0200
04a7ee1
+++ b/sc/inc/arraysumfunctor.hxx	2023-10-01 09:13:03.523493665 +0200
04a7ee1
@@ -85,8 +85,12 @@
04a7ee1
 inline KahanSum sumArray(const double* pArray, size_t nSize)
04a7ee1
 {
04a7ee1
     size_t i = 0;
04a7ee1
+#if 0
04a7ee1
     const double* pCurrent = pArray;
04a7ee1
     KahanSum fSum = executeFast(i, nSize, pCurrent);
04a7ee1
+#else
04a7ee1
+    KahanSum fSum = 0.0;
04a7ee1
+#endif
04a7ee1
 
04a7ee1
     // sum rest of the array
04a7ee1
     for (; i < nSize; ++i)