diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-07-22 18:05:21 +0200 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-07-22 21:09:52 -0400 |
commit | 5e8c9cd8f385351c795c35120b78610a4aed23af (patch) | |
tree | 528abe52734c3acffe88d29c9a92727e35b2820a | |
parent | 81568f230ed1c31f946ea6e166dcca316d381619 (diff) |
fix for fdo#37128: set upper limit for second parameter of tinv to 1E10
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
-rw-r--r-- | sc/source/core/tool/interpr3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx index 3eec99421..72fffd77f 100644 --- a/sc/source/core/tool/interpr3.cxx +++ b/sc/source/core/tool/interpr3.cxx @@ -2095,7 +2095,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; |