summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-04-25 11:12:12 +0100
committerEike Rathke <erack@redhat.com>2014-04-25 11:21:17 +0100
commitee75263f6c942c0a8f59beb84c21a98c141bc7f1 (patch)
treec1c8033967379b144184c3fb0cf53eaa7b923153 /sc
parent9c78e71903146acec47e0d32b23b9e5cc3e021a1 (diff)
we need to push a return value in any case, fdo#73148 related
... not just if there is no error; popping a value from the stack also pops an error value, and the error is pushed again instead of the value to be pushed, see call of IfErrorPushError() in PushDouble(). Change-Id: I92f486fa226c90870990f608cd43d4a1379a2361
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr1.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index a7440f4c1972..b2a77b282e18 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -6703,8 +6703,7 @@ void ScInterpreter::ScAggregate()
// Get rid of the 1st and 2nd (fished) parameters.
Pop();
Pop();
- if ( !nGlobalError )
- PushDouble( nVal );
+ PushDouble( nVal );
}
}