diff options
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/report.h b/src/report.h index ca066566..21ee261f 100644 --- a/src/report.h +++ b/src/report.h @@ -60,18 +60,18 @@ class report_t : public xml::xpath_t::scope_t xml::xpath_t(expr).compile((xml::document_t *)NULL, this); } void option_eval(value_t&, xml::xpath_t::scope_t * locals) { - eval(locals->args[0].to_string()); + eval(locals->args[0].string_value()); } void option_amount(value_t&, xml::xpath_t::scope_t * locals) { - eval(string("t=") + locals->args[0].to_string()); + eval(string("t=") + locals->args[0].string_value()); } void option_total(value_t&, xml::xpath_t::scope_t * locals) { - eval(string("T()=") + locals->args[0].to_string()); + eval(string("T()=") + locals->args[0].string_value()); } void option_format(value_t&, xml::xpath_t::scope_t * locals) { - format_string = locals->args[0].to_string(); + format_string = locals->args[0].string_value(); } void option_raw(value_t&) { |