[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Tue May 23 11:16:12 UTC 2017


 sc/source/core/tool/interpr1.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 30660bd7e9d7f8639508dfceb24c335388370b0b
Author: Eike Rathke <erack at redhat.com>
Date:   Tue May 23 13:15:21 2017 +0200

    MustHaveParamCount() already pushes error, tdf#58874
    
    Change-Id: I5d4ec4f36d7c047a377528495e04cbd9a7bdc38b

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 9cc318b26a26..a782953b5425 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -4971,10 +4971,7 @@ void ScInterpreter::IterateParametersIf( ScIterFuncIf eFunc )
 {
     sal_uInt8 nParamCount = GetByte();
     if ( !MustHaveParamCount( nParamCount, 2, 3 ) )
-    {
-        PushError( nGlobalError);
         return;
-    }
 
     SCCOL nCol3 = 0;
     SCROW nRow3 = 0;


More information about the Libreoffice-commits mailing list