diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2018-08-02 19:44:49 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2018-08-02 19:44:49 +0200 |
commit | c20b6dd7533775eaed045950e04175b020ac52c4 (patch) | |
tree | 3b61fbfecd8d161808fb22b4c7f9b213335f9072 /src/odf | |
parent | a0ea857685804735d60f19a166274745d8785e62 (diff) |
Update expression evaluation
Diffstat (limited to 'src/odf')
-rw-r--r--[-rwxr-xr-x] | src/odf/odf.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odf/odf.ml b/src/odf/odf.ml index 68add32..0091d8b 100755..100644 --- a/src/odf/odf.ml +++ b/src/odf/odf.ml @@ -145,7 +145,7 @@ let write_cell output value = begin function | Expression.Basic b -> write_basic [] output b
| Expression.Formula (Expression.Expression f) ->
let buffer = UTF8.Buffer.create 10 in
- ExpressionPrinter.eval f () buffer;
+ ExpressionPrinter.eval f buffer;
let formula = UTF8.Buffer.contents buffer
|> UTF8.to_utf8string in
write_formula output [(NS.formula_attr, ("of:=" ^formula))] f value
|