Kaydet (Commit) db042b2a authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Markus Mohrhard

sc: Stop pushing an extra error

as MustHaveParamCount() already does it when returning false.

Change-Id: Ia4f8998a2f65eea5e6be3fd21b5ca724d13770d0
Reviewed-on: https://gerrit.libreoffice.org/55265Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 6e851bb1
...@@ -429,10 +429,7 @@ void ScInterpreter::ScDebugVar() ...@@ -429,10 +429,7 @@ void ScInterpreter::ScDebugVar()
} }
if (!MustHaveParamCount(GetByte(), 1)) if (!MustHaveParamCount(GetByte(), 1))
{
PushIllegalParameter();
return; return;
}
rtl_uString* p = GetString().getDataIgnoreCase(); rtl_uString* p = GetString().getDataIgnoreCase();
if (!p) if (!p)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment