summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-07 10:24:46 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:38 -0400
commit06e7c2820242ea5130a63305836f822ccb409a92 (patch)
treed59d4ad1e85c0319cebe203858bf1924ffa1d205 /src/report.h
parent7868a53b70bd08b79007386dbb5b1590bfb2e457 (diff)
downloadfork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.tar.gz
fork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.tar.bz2
fork-ledger-06e7c2820242ea5130a63305836f822ccb409a92.zip
Rearranged many method names.
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/report.h b/src/report.h
index 21ee261f..ca066566 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].string_value());
+ eval(locals->args[0].to_string());
}
void option_amount(value_t&, xml::xpath_t::scope_t * locals) {
- eval(string("t=") + locals->args[0].string_value());
+ eval(string("t=") + locals->args[0].to_string());
}
void option_total(value_t&, xml::xpath_t::scope_t * locals) {
- eval(string("T()=") + locals->args[0].string_value());
+ eval(string("T()=") + locals->args[0].to_string());
}
void option_format(value_t&, xml::xpath_t::scope_t * locals) {
- format_string = locals->args[0].string_value();
+ format_string = locals->args[0].to_string();
}
void option_raw(value_t&) {