[Libreoffice-commits] .: sc/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Fri Jul 22 10:42:23 PDT 2011


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

New commits:
commit 514fa420a68076537adfc8d7344a20e8c0baa3f3
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri Jul 22 18:05:21 2011 +0200

    fix for fdo#37128: set upper limit for second parameter of tinv to 1E10

diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index c631b15..62d670d 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -2094,7 +2094,7 @@ void ScInterpreter::ScTInv()
         return;
     double fDF  = ::rtl::math::approxFloor(GetDouble());
     double fP = GetDouble();
-    if (fDF < 1.0 || fDF >= 1.0E5 || fP <= 0.0 || fP > 1.0 )
+    if (fDF < 1.0 || fDF > 1.0E10 || fP <= 0.0 || fP > 1.0 )
     {
         PushIllegalArgument();
         return;


More information about the Libreoffice-commits mailing list