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

New commits:
commit db042b2a59a713c37f568f7721b9546a353a964f
Author: Takeshi Abe <t...@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 <c...@libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrh...@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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to