[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Sat Oct 24 15:29:04 PDT 2015


 sc/source/core/tool/interpr3.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 14cd70ba5af2dcd47dbeafe9cbbb43662448d454
Author: Eike Rathke <erack at redhat.com>
Date:   Sun Oct 25 00:17:15 2015 +0200

    Revert "crashtestig: infinite recurse in ooo32833-1.sxc"
    
    This reverts commit d2a07cd3214af27c5af601992e3c4a1a6e3b3dad.
    
    We now ensure in sal that calling rtl_math_erfc() with NaN actually
    works and returns a result as defined.

diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index c85edcd..eb8e0d9 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -1599,10 +1599,7 @@ void ScInterpreter::ScLogNormDist( int nMinParamCount ) //expanded, see #i100119
 
 void ScInterpreter::ScStdNormDist()
 {
-    double fVal = GetDouble();
-    if (!rtl::math::isNan(fVal))
-        fVal = integralPhi(fVal);
-    PushDouble(fVal);
+    PushDouble(integralPhi(GetDouble()));
 }
 
 void ScInterpreter::ScStdNormDist_MS()


More information about the Libreoffice-commits mailing list