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

Takeshi Abe tabe at fixedpoint.jp
Tue Jun 5 15:22:16 UTC 2018


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

New commits:
commit db042b2a59a713c37f568f7721b9546a353a964f
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Mon Jun 4 18:33:49 2018 +0900

    sc: Stop pushing an extra error
    
    as MustHaveParamCount() already does it when returning false.
    
    Change-Id: Ia4f8998a2f65eea5e6be3fd21b5ca724d13770d0
    Reviewed-on: https://gerrit.libreoffice.org/55265
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx
index 274bb69e5243..cdd0991978e4 100644
--- a/sc/source/core/tool/interpr7.cxx
+++ b/sc/source/core/tool/interpr7.cxx
@@ -429,10 +429,7 @@ void ScInterpreter::ScDebugVar()
     }
 
     if (!MustHaveParamCount(GetByte(), 1))
-    {
-        PushIllegalParameter();
         return;
-    }
 
     rtl_uString* p = GetString().getDataIgnoreCase();
     if (!p)


More information about the Libreoffice-commits mailing list