Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/reports/tests/reportstestcommon.cpp
Context not available. | |||||
139 | try { | 139 | try { | ||
---|---|---|---|---|---|
140 | MyMoneyFile::instance()->removeTransaction(*this); | 140 | MyMoneyFile::instance()->removeTransaction(*this); | ||
141 | ft.commit(); | 141 | ft.commit(); | ||
142 | } catch (const MyMoneyException & e) { | 142 | } catch (const MyMoneyException &e) { | ||
143 | qDebug() << e.what(); | 143 | qDebug() << e.what(); | ||
144 | } | 144 | } | ||
145 | } | 145 | } | ||
Context not available. | |||||
475 | if (readRCFfromXMLDoc(list, doc) && !list.isEmpty()) | 475 | if (readRCFfromXMLDoc(list, doc) && !list.isEmpty()) | ||
476 | filter = list[0]; | 476 | filter = list[0]; | ||
477 | else | 477 | else | ||
478 | throw MYMONEYEXCEPTION("Failed to load report from XML"); | 478 | throw MYMONEYEXCEPTION_CSTRING("Failed to load report from XML"); | ||
479 | 479 | | |||
480 | delete doc; | 480 | delete doc; | ||
481 | 481 | | |||
Context not available. |