From c20b6dd7533775eaed045950e04175b020ac52c4 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 2 Aug 2018 19:44:49 +0200 Subject: Update expression evaluation --- src/odf/odf.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 src/odf/odf.ml (limited to 'src/odf') diff --git a/src/odf/odf.ml b/src/odf/odf.ml old mode 100755 new mode 100644 index 68add32..0091d8b --- 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 -- cgit v1.2.3