diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-09-25 20:35:24 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-09-25 20:35:24 -0400 |
commit | ceffb55cd53bcae4ec6f1b967ff45d01207a004e (patch) | |
tree | 6a6f1a27c373d4c7b3bd169c60cd637bb10fb7c7 /sc | |
parent | 4d9bf254804138424421744edc5cf308cfb97042 (diff) |
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
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 68269a331de9..dfbf8da01dbe 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -6587,7 +6587,7 @@ void ScInterpreter::ScSubTotal() nFunc -= 100; } - if( nFunc < 1 || nFunc > 11 ) + if (nFunc < 1 || nFunc > 11 || !bIncludeHidden) PushIllegalArgument(); // simulate return on stack, not SetError(...) else { |