diff options
Diffstat (limited to 'kmymoney2/converter/mymoneystatementreader.cpp')
-rw-r--r-- | kmymoney2/converter/mymoneystatementreader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/converter/mymoneystatementreader.cpp b/kmymoney2/converter/mymoneystatementreader.cpp index 8268d89..ad74be4 100644 --- a/kmymoney2/converter/mymoneystatementreader.cpp +++ b/kmymoney2/converter/mymoneystatementreader.cpp @@ -86,7 +86,7 @@ class MyMoneyStatementReader::Private TQMap<TQString, MyMoneySecurity> securitiesByName; bool m_skipCategoryMatching; private: - void scanCategories(TQString& id, const MyMoneyAccount& invAcc, const MyMoneyAccount& tqparentAccount, const TQString& defaultName); + void scanCategories(TQString& id, const MyMoneyAccount& invAcc, const MyMoneyAccount& parentAccount, const TQString& defaultName); TQString nameToId(const TQString&name, MyMoneyAccount& tqparent); private: TQString m_feeId; @@ -134,7 +134,7 @@ TQString MyMoneyStatementReader::Private::feeId(const TQString& name) } -void MyMoneyStatementReader::Private::scanCategories(TQString& id, const MyMoneyAccount& invAcc, const MyMoneyAccount& tqparentAccount, const TQString& defaultName) +void MyMoneyStatementReader::Private::scanCategories(TQString& id, const MyMoneyAccount& invAcc, const MyMoneyAccount& parentAccount, const TQString& defaultName) { if(!scannedCategories) { KMyMoneyUtils::previouslyUsedCategories(invAcc.id(), m_feeId, m_interestId); @@ -146,7 +146,7 @@ void MyMoneyStatementReader::Private::scanCategories(TQString& id, const MyMoney MyMoneyAccount acc = file->accountByName(defaultName); // if it does not exist, we have to create it if(acc.id().isEmpty()) { - MyMoneyAccount tqparent = tqparentAccount; + MyMoneyAccount tqparent = parentAccount; acc.setName( defaultName ); acc.setAccountType( tqparent.accountType() ); acc.setCurrencyId(tqparent.currencyId()); |