Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/converter/mymoneystatementreader.cpp
Context not available. | |||||
1240 | ExistingTransactionMatchFinder existingTrMatchFinder(KMyMoneyGlobalSettings::matchInterval()); | 1240 | ExistingTransactionMatchFinder existingTrMatchFinder(KMyMoneyGlobalSettings::matchInterval()); | ||
---|---|---|---|---|---|
1241 | result = existingTrMatchFinder.findMatch(transactionUnderImport, s1); | 1241 | result = existingTrMatchFinder.findMatch(transactionUnderImport, s1); | ||
1242 | if (result != TransactionMatchFinder::MatchNotFound) { | 1242 | if (result != TransactionMatchFinder::MatchNotFound) { | ||
1243 | MyMoneySplit matchedSplit = existingTrMatchFinder.getMatchedSplit(); | | |||
1244 | MyMoneyTransaction matchedTransaction = existingTrMatchFinder.getMatchedTransaction(); | 1243 | MyMoneyTransaction matchedTransaction = existingTrMatchFinder.getMatchedTransaction(); | ||
1245 | 1244 | if (!matchedTransaction.isImported() || result == TransactionMatchFinder::MatchPrecise) { // don't match with just imported transaction | |||
1246 | handleMatchingOfExistingTransaction(matcher, matchedTransaction, matchedSplit, transactionUnderImport, s1, result); | 1245 | MyMoneySplit matchedSplit = existingTrMatchFinder.getMatchedSplit(); | ||
1247 | return; | 1246 | handleMatchingOfExistingTransaction(matcher, matchedTransaction, matchedSplit, transactionUnderImport, s1, result); | ||
1247 | return; | ||||
1248 | } | ||||
1248 | } | 1249 | } | ||
1249 | 1250 | | |||
1250 | addTransaction(transactionUnderImport); | 1251 | addTransaction(transactionUnderImport); | ||
Context not available. |