diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-07-22 18:05:21 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-07-22 18:05:21 +0200 |
commit | efd36203a76e9b70d069bab66d6f65a9399dd3aa (patch) | |
tree | 795736c5ab80c6745b5b93c8fc0751f7aa491862 /sc | |
parent | aca6b30d6406799561f311a38bbbfc1aebda36de (diff) |
fix for fdo#37128: set upper limit for second parameter of tinv to 1E10
Diffstat (limited to 'sc')
-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 c631b15adea5..62d670d65e06 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; |