[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Wed May 4 22:08:18 UTC 2016
sc/source/core/tool/interpr1.cxx | 11 +++++++++++
sc/source/core/tool/interpr8.cxx | 12 ------------
2 files changed, 11 insertions(+), 12 deletions(-)
New commits:
commit cbb6367e75e3cc8b5b2b6f2ed703e5a316d8f325
Author: Eike Rathke <erack at redhat.com>
Date: Thu May 5 00:04:37 2016 +0200
gather calls to IterateParametersIfs() in one place, tdf#97831 follow-up
Change-Id: I62d8a32c624a550947edf423e89069e4d1892687
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index dcaf374..94eeda8 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 aa70886..5cb33f0 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: */
More information about the Libreoffice-commits
mailing list