summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-02-01 22:32:10 +0100
committerEike Rathke <erack@redhat.com>2018-02-01 22:32:15 +0100
commit6fc7f3f8409040a3d977b944b3fa4151faf31301 (patch)
tree82aff8fff86aa9b55c304cf5eaa5d48299c7374d
parentbc697917c79609243305dcecc7aeef2f3776611c (diff)
Author was too dumb to adjust a copy-pasta digit
Change-Id: I7d171fdf21c02af9a14600c5e0c6294c0f3ebb57
-rw-r--r--sc/source/filter/qpro/qproform.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx
index 70dabdedeed8..3943cd0c0878 100644
--- a/sc/source/filter/qpro/qproform.cxx
+++ b/sc/source/filter/qpro/qproform.cxx
@@ -149,8 +149,8 @@ void QProToSc::DoFunc( DefTokenId eOc, sal_uInt16 nArgs, const sal_Char* pExtStr
// There should be at least 4 arguments, but with binary crap may not..
SAL_WARN_IF( nArgs < 4, "sc.filter","QProToSc::DoFunc - ocIpmt expects 4 parameters but got " << nArgs);
// Store first 4 parameters to pool in order 3,2,1,0
- if (nArgs > 3)
- nArgs = 3;
+ if (nArgs > 4)
+ nArgs = 4;
}
sal_Int16 nLast = nArgs - 1;