Kaydet (Commit) ceffb55c authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Use this flag to make the compiler warning go away.

Incidentally, when the flag is false we'll throw an argument error.
We need to implement it properly later.

Change-Id: I70f8b6bac3cf8ad1dae67efc65a9ab16e099253e
üst 4d9bf254
...@@ -6587,7 +6587,7 @@ void ScInterpreter::ScSubTotal() ...@@ -6587,7 +6587,7 @@ void ScInterpreter::ScSubTotal()
nFunc -= 100; nFunc -= 100;
} }
if( nFunc < 1 || nFunc > 11 ) if (nFunc < 1 || nFunc > 11 || !bIncludeHidden)
PushIllegalArgument(); // simulate return on stack, not SetError(...) PushIllegalArgument(); // simulate return on stack, not SetError(...)
else else
{ {
......
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