diff options
Diffstat (limited to 'kmymoney2/reports/reportstestcommon.cpp')
-rw-r--r-- | kmymoney2/reports/reportstestcommon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/reports/reportstestcommon.cpp b/kmymoney2/reports/reportstestcommon.cpp index 7d42abc..6783b08 100644 --- a/kmymoney2/reports/reportstestcommon.cpp +++ b/kmymoney2/reports/reportstestcommon.cpp @@ -244,8 +244,8 @@ TQString makeAccount( const TQString& _name, MyMoneyAccount::accountTypeE _type, if(_taxReport) info.setValue("Tax", "Yes"); - MyMoneyAccount tqparent = MyMoneyFile::instance()->account(_parent); - MyMoneyFile::instance()->addAccount( info, tqparent ); + MyMoneyAccount parent = MyMoneyFile::instance()->account(_parent); + MyMoneyFile::instance()->addAccount( info, parent ); // create the opening balance transaction if any if(!_balance.isZero()) { MyMoneySecurity sec = MyMoneyFile::instance()->currency(info.currencyId()); |