summaryrefslogtreecommitdiff
path: root/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-04 16:24:41 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-04 16:24:41 -0400
commit9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48 (patch)
treea06ae88d3464a2fd6c4a3e184e7973768cf0d392 /report.cc
parent966b231f23a0c74db105784ba1291c860ced483e (diff)
downloadfork-ledger-9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48.tar.gz
fork-ledger-9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48.tar.bz2
fork-ledger-9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48.zip
First round of work to get the balance report working again.
Diffstat (limited to 'report.cc')
-rw-r--r--report.cc20
1 files changed, 1 insertions, 19 deletions
diff --git a/report.cc b/report.cc
index d5667381..6257b562 100644
--- a/report.cc
+++ b/report.cc
@@ -331,9 +331,7 @@ void report_t::sum_all_accounts()
session.master->calculate_sums();
}
-void report_t::accounts_report(acct_handler_ptr handler,
- const bool print_final_total,
- optional<std::ostream&> ostream)
+void report_t::accounts_report(acct_handler_ptr handler)
{
sum_all_accounts();
@@ -346,22 +344,6 @@ void report_t::accounts_report(acct_handler_ptr handler,
}
handler->flush();
-#if 0
- // jww (2008-08-02): I need access to the output formatter before this is
- // going to work.
- if (print_final_total) {
- assert(ostream);
- assert(account_has_xdata(*session.master));
-
- account_xdata_t& xdata(account_xdata(*session.master));
- if (! show_collapsed && xdata.total) {
- *ostream << "--------------------\n";
- xdata.value = xdata.total;
- handler->format.format(*ostream, *session.master);
- }
- }
-#endif
-
if (DO_VERIFY()) {
session.clean_xacts();
session.clean_accounts();