diff options
author | Eike Rathke <erack@redhat.com> | 2013-07-01 23:54:28 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-07-02 00:01:42 +0200 |
commit | 9c1ca6dca3b553c302a635357e33591605343b99 (patch) | |
tree | c6abbd973aaa52aad0ab45a50a4870bf06ed4581 /include/formula | |
parent | 0520eaf9e661abddadf9a21cfbeab37b0b85dd68 (diff) |
resolved fdo#35411 redefined MAXCODE 512 to FORMULA_MAXTOKENS 8192
Also renamed MAXJUMPCOUNT to FORMULA_MAXJUMPCOUNT but without changing
the value as the runtime array size of ocChose depends on it, should be
changed before.
Eliminated the duplicated and error causing redefinition of both in
sc/inc/compiler.hxx
Change-Id: I0e87d1439c9564a4f475fcb2870ab51c3b586942
Diffstat (limited to 'include/formula')
-rw-r--r-- | include/formula/FormulaCompiler.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx index b53bb2df4316..6e271ca15a4f 100644 --- a/include/formula/FormulaCompiler.hxx +++ b/include/formula/FormulaCompiler.hxx @@ -36,8 +36,8 @@ #include "formula/ExternalReferenceHelper.hxx" -#define MAXJUMPCOUNT 32 /* maximum number of jumps (ocChose) */ -#define MAXCODE 512 /* maximum number of tokens in formula */ +#define FORMULA_MAXJUMPCOUNT 32 /* maximum number of jumps (ocChose) */ +#define FORMULA_MAXTOKENS 8192 /* maximum number of tokens in formula */ namespace com { namespace sun { namespace star { |