summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorWinfried Donkers <winfrieddonkers@libreoffice.org>2013-12-10 13:05:52 +0100
committerEike Rathke <erack@redhat.com>2013-12-13 14:09:18 +0000
commitd1e1cd128c83982f69331c92a8e319d3031a7685 (patch)
treee2738b17c641ee345f7dd459ade5cf968d75dc44 /include/formula
parent1b3f3ce53a26ba52d27784a2f9adbffcbd6169f3 (diff)
remove unused code (ancient Calc function ZELLERROR)
code has no function, except that calc documents with formula ZELLERROR will not produce an error. But the formula is not interpreted, so remains 'dead code'. Change-Id: I6e7df7040a0273bcd3ebd497055924b7afdd3311 Reviewed-on: https://gerrit.libreoffice.org/7018 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/compiler.hrc1
-rw-r--r--include/formula/opcode.hxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/formula/compiler.hrc b/include/formula/compiler.hrc
index b71c74655eda..7dacf30739a6 100644
--- a/include/formula/compiler.hrc
+++ b/include/formula/compiler.hrc
@@ -182,7 +182,6 @@
#define SC_OPCODE_S_NORM_INV 149
#define SC_OPCODE_GAMMA_LN 150
#define SC_OPCODE_ERROR_TYPE 151
-#define SC_OPCODE_ERR_CELL 152
#define SC_OPCODE_FORMULA 153
#define SC_OPCODE_ARABIC 154
#define SC_OPCODE_INFO 155
diff --git a/include/formula/opcode.hxx b/include/formula/opcode.hxx
index 18e2a34212ef..0b08532ae439 100644
--- a/include/formula/opcode.hxx
+++ b/include/formula/opcode.hxx
@@ -176,7 +176,6 @@ enum OpCodeEnum
ocGammaLn_MS = SC_OPCODE_GAMMA_LN_MS,
ocGamma = SC_OPCODE_GAMMA,
ocErrorType = SC_OPCODE_ERROR_TYPE,
- ocErrCell = SC_OPCODE_ERR_CELL,
ocFormula = SC_OPCODE_FORMULA,
ocArabic = SC_OPCODE_ARABIC,
ocInfo = SC_OPCODE_INFO,