From dea2aed0b509734ec4e1cd163ac2a4f013000da2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 11 Jun 2010 16:03:50 -0400 Subject: Untabified all source files --- src/xml.cc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/xml.cc') diff --git a/src/xml.cc b/src/xml.cc index 5dd10012..15710d44 100644 --- a/src/xml.cc +++ b/src/xml.cc @@ -43,8 +43,8 @@ namespace ledger { namespace { void xml_account(std::ostream& out, const account_t * acct) { if ((acct->has_xdata() && - acct->xdata().has_flags(ACCOUNT_EXT_VISITED)) || - acct->children_with_flags(ACCOUNT_EXT_VISITED)) { + acct->xdata().has_flags(ACCOUNT_EXT_VISITED)) || + acct->children_with_flags(ACCOUNT_EXT_VISITED)) { out << "" << acct->name << "\n"; value_t total = acct->amount(); if (! total.is_null()) { - out << "\n"; - to_xml(out, total); - out << "\n"; + out << "\n"; + to_xml(out, total); + out << "\n"; } total = acct->total(); if (! total.is_null()) { - out << "\n"; - to_xml(out, total); - out << "\n"; + out << "\n"; + to_xml(out, total); + out << "\n"; } out << "\n"; } @@ -76,8 +76,8 @@ namespace { foreach (const post_t * post, xact->posts) if (post->has_xdata() && - post->xdata().has_flags(POST_EXT_VISITED)) - to_xml(out, *post); + post->xdata().has_flags(POST_EXT_VISITED)) + to_xml(out, *post); out << "\n"; } @@ -115,7 +115,7 @@ void format_xml::operator()(post_t& post) assert(post.xdata().has_flags(POST_EXT_VISITED)); commodities.insert(commodities_pair(post.amount.commodity().symbol(), - &post.amount.commodity())); + &post.amount.commodity())); if (transactions_set.find(post.xact) == transactions_set.end()) transactions.push_back(post.xact); -- cgit v1.2.3