diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-02 03:04:40 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:35 -0400 |
commit | 76b2066b8ba41f51e8199bd91d93508cf464558c (patch) | |
tree | 500c5b3f38c881a0c9088f1066be91082b4858a5 /src/report.h | |
parent | 230e03166f061387e7e25591bd2df6acad4195ee (diff) | |
download | ledger-76b2066b8ba41f51e8199bd91d93508cf464558c.tar.gz ledger-76b2066b8ba41f51e8199bd91d93508cf464558c.tar.bz2 ledger-76b2066b8ba41f51e8199bd91d93508cf464558c.zip |
More work to use boost/operators.hpp.
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&) { |