sc/source/filter/qpro/qproform.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6fc7f3f8409040a3d977b944b3fa4151faf31301
Author: Eike Rathke <er...@redhat.com>
Date:   Thu Feb 1 22:32:10 2018 +0100

    Author was too dumb to adjust a copy-pasta digit
    
    Change-Id: I7d171fdf21c02af9a14600c5e0c6294c0f3ebb57

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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to