msodumper/formula.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
New commits: commit 59fb7178e702a1e4625e227baae59cf470712cee Author: Tor Lillqvist <[email protected]> Date: Mon Mar 6 14:16:49 2017 +0200 Keep the _tokenMap sorted for clarity I don't understand why three entries would need to be given separately, out of order, at the end? diff --git a/msodumper/formula.py b/msodumper/formula.py index 75a35f5..c731dd4 100644 --- a/msodumper/formula.py +++ b/msodumper/formula.py @@ -769,18 +769,17 @@ _tokenMap = { 0x25: PtgArea, 0x29: PtgMemFunc, 0x2D: PtgAreaN, + 0x3A: PtgRef3d, 0x3B: _Area3d, 0x40: PtgArray, + 0x42: PtgFuncVar, 0x43: PtgName, 0x44: PtgRef, + 0x4C: PtgRefN, 0x59: PtgNameX, 0x5A: PtgRef3d, 0x5B: _Area3d, 0x7B: _Area3d, - - 0x3A: PtgRef3d, - 0x42: PtgFuncVar, - 0x4C: PtgRefN } class FormulaParser(object): _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
