summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/tool/interpr2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index 53023e348ef5..e453f46a5812 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -1290,7 +1290,7 @@ void ScInterpreter::ScNPV()
{
nFuncFmtType = css::util::NumberFormat::CURRENCY;
short nParamCount = GetByte();
- if ( MustHaveParamCount( nParamCount, 2, 31 ) )
+ if ( MustHaveParamCountMin( nParamCount, 2) )
{
double nVal = 0.0;
// We turn the stack upside down!