summaryrefslogtreecommitdiff
path: root/formula/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-01-11 16:50:48 +0100
committerEike Rathke <erack@redhat.com>2013-01-11 17:01:44 +0100
commit3914d00c32c4226d3a73ffdd8985c887016887e0 (patch)
tree214d06dd8f9a28e8196ba7d26275d4bd16179ae2 /formula/inc
parent5fd9feafa5d73121636af9397d42e046cc394719 (diff)
fdo#56124 changes to "add functions IFERROR and IFNA"
* reimplemented actual ScIfError() function for matrix cases and simpler pop/push of non-error values * various smaller adaptions, see also inline comments of https://gerrit.libreoffice.org/1522 Change-Id: I80a8235a2cbb548c0ef993862e76741af46e30d2
Diffstat (limited to 'formula/inc')
-rw-r--r--formula/inc/formula/errorcodes.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/formula/inc/formula/errorcodes.hxx b/formula/inc/formula/errorcodes.hxx
index a99dc7b9d4e0..1e145e04132b 100644
--- a/formula/inc/formula/errorcodes.hxx
+++ b/formula/inc/formula/errorcodes.hxx
@@ -72,6 +72,9 @@ const sal_uInt16 errNestedArray = 533;
// be used to distinguish that condition from all other (inherited) errors. Do
// not use for anything else! Never push or inherit the error otherwise!
const sal_uInt16 errNotNumericString = 534;
+// ScInterpreter internal: jump matrix already has a result at this position,
+// do not overwrite in case of empty code path.
+const sal_uInt16 errJumpMatHasResult = 535;
// Interpreter: NA() not available condition, not a real error
const sal_uInt16 NOTAVAILABLE = 0x7fff;