diff options
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp b/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp index 08403f2..2c8307c 100644 --- a/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp +++ b/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp @@ -566,7 +566,7 @@ void MyMoneyDatabaseMgrTest::testReparentAccount() { CPPUNIT_ASSERT(m->account(ex1.id()).accountCount() == 2); CPPUNIT_ASSERT(ex3.parentAccountId() == ex1.id()); } catch (MyMoneyException *e) { - std::cout << std::endl << e->what() << std::endl; + std::cout << std::endl << e->what().local8Bit() << std::endl; delete e; CPPUNIT_FAIL("Unexpected exception"); } @@ -763,7 +763,7 @@ void MyMoneyDatabaseMgrTest::testCopyBudget() { CPPUNIT_ASSERT(testBudget.budgetStart() == newBudget.budgetStart()); CPPUNIT_ASSERT(testBudget.name() == newBudget.name()); } catch (TQString& s) { - std::cout << "Error in testCopyBudget(): " << s << std::endl; + std::cout << "Error in testCopyBudget(): " << s.local8Bit() << std::endl; CPPUNIT_ASSERT(false); } } |