diff options
author | Eike Rathke <erack@redhat.com> | 2016-05-05 00:04:37 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-05-05 00:06:28 +0200 |
commit | cbb6367e75e3cc8b5b2b6f2ed703e5a316d8f325 (patch) | |
tree | b68d368156c6b5d01c51593cae2e29d0df0345d7 /sc | |
parent | c57dc741a6f221f53f3c8da2f521c6ece63246c2 (diff) |
gather calls to IterateParametersIfs() in one place, tdf#97831 follow-up
Change-Id: I62d8a32c624a550947edf423e89069e4d1892687
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 11 | ||||
-rw-r--r-- | sc/source/core/tool/interpr8.cxx | 12 |
2 files changed, 11 insertions, 12 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index dcaf3746e18b..94eeda8c7337 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -5665,6 +5665,17 @@ void ScInterpreter::ScCountIfs() PushDouble( IterateParametersIfs( ifCOUNTIFS)); } +void ScInterpreter::ScMinIfs_MS() +{ + PushDouble( IterateParametersIfs( ifMINIFS ) ); +} + + +void ScInterpreter::ScMaxIfs_MS() +{ + PushDouble( IterateParametersIfs( ifMAXIFS ) ); +} + void ScInterpreter::ScLookup() { sal_uInt8 nParamCount = GetByte(); diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx index aa7088624944..5cb33f06e6db 100644 --- a/sc/source/core/tool/interpr8.cxx +++ b/sc/source/core/tool/interpr8.cxx @@ -2019,16 +2019,4 @@ void ScInterpreter::ScSwitch_MS() PushError( errUnknownStackVariable ); } - -void ScInterpreter::ScMinIfs_MS() -{ - PushDouble( IterateParametersIfs( ifMINIFS ) ); -} - - -void ScInterpreter::ScMaxIfs_MS() -{ - PushDouble( IterateParametersIfs( ifMAXIFS ) ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |