diff options
author | Eike Rathke <erack@redhat.com> | 2017-07-04 09:18:09 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-07-04 09:23:58 +0200 |
commit | 29c4c8206d03494f32809e06814675d2952ae0bc (patch) | |
tree | bd654dcacee1abf33c4f7c0722b57765d246eb4f /sc | |
parent | 151ee1eb2cd0d9f0c46975ea260c0d12f0ce8db1 (diff) |
Remove artificial parameter count limit from NPV()
Change-Id: I09b1afa89d57a41a3c58cd7cc27ea62dcd508550
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr2.cxx | 2 |
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! |