diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-11 16:03:50 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-11 17:02:25 -0400 |
commit | dea2aed0b509734ec4e1cd163ac2a4f013000da2 (patch) | |
tree | 7908da76c67ae5172882306a319bf26df81b73b4 /src/temps.cc | |
parent | d580079df892c30d023b3211d6c4611c17b11f8f (diff) | |
download | fork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.tar.gz fork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.tar.bz2 fork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.zip |
Untabified all source files
Diffstat (limited to 'src/temps.cc')
-rw-r--r-- | src/temps.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/temps.cc b/src/temps.cc index 7a630176..365c33c5 100644 --- a/src/temps.cc +++ b/src/temps.cc @@ -63,7 +63,7 @@ xact_t& temporaries_t::create_xact() } post_t& temporaries_t::copy_post(post_t& origin, xact_t& xact, - account_t * account) + account_t * account) { if (! post_temps) post_temps = std::list<post_t>(); @@ -99,7 +99,7 @@ post_t& temporaries_t::create_post(xact_t& xact, account_t * account) } account_t& temporaries_t::create_account(const string& name, - account_t * parent) + account_t * parent) { if (! acct_temps) acct_temps = std::list<account_t>(); @@ -119,10 +119,10 @@ void temporaries_t::clear() if (post_temps) { foreach (post_t& post, *post_temps) { if (! post.xact->has_flags(ITEM_TEMP)) - post.xact->remove_post(&post); + post.xact->remove_post(&post); if (post.account && ! post.account->has_flags(ACCOUNT_TEMP)) - post.account->remove_post(&post); + post.account->remove_post(&post); } post_temps->clear(); } @@ -133,7 +133,7 @@ void temporaries_t::clear() if (acct_temps) { foreach (account_t& acct, *acct_temps) { if (acct.parent && ! acct.parent->has_flags(ACCOUNT_TEMP)) - acct.parent->remove_account(&acct); + acct.parent->remove_account(&acct); } acct_temps->clear(); } |