summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-07-22 18:05:21 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-07-22 18:05:21 +0200
commit514fa420a68076537adfc8d7344a20e8c0baa3f3 (patch)
tree3193e7a4ae8a4f4cab3d69919bf4b02188349201
parent1bae003aae5fc319b49e85f01a1a8d51d337f5d3 (diff)
fix for fdo#37128: set upper limit for second parameter of tinv to 1E10
-rw-r--r--sc/source/core/tool/interpr3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index c631b15ad..62d670d65 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;