[kde-doc-english] [kmymoney] /: Use exceptions the proper way, that is throw them by value and catch
Cristian Oneț
onet.cristian at gmail.com
Sat Feb 22 10:45:11 UTC 2014
Git commit c7cd2925209dd2429f2d0814ebe0cbe954f09a6a by Cristian Oneț.
Committed on 22/02/2014 at 10:29.
Pushed by conet into branch 'master'.
Use exceptions the proper way, that is throw them by value and catch
them by const reference.
This way we don't need to worry about memory management (we had a few
leaks signaled by unused parameter warnings in the catch statement
on msvc).
M +8 -11 developer-doc/phb/test-examples.docbook
M +2 -4 developer-doc/phb/unit-test.docbook
M +6 -6 kmymoney/converter/convertertest.cpp
M +31 -33 kmymoney/converter/mymoneygncreader.cpp
M +1 -1 kmymoney/converter/mymoneyqifprofile.cpp
M +14 -20 kmymoney/converter/mymoneyqifreader.cpp
M +2 -3 kmymoney/converter/mymoneyqifwriter.cpp
M +23 -32 kmymoney/converter/mymoneystatementreader.cpp
M +6 -7 kmymoney/converter/mymoneytemplate.cpp
M +3 -3 kmymoney/converter/transactionmatchfinder.cpp
M +11 -12 kmymoney/converter/webpricequote.cpp
M +2 -4 kmymoney/dialogs/investtransactioneditor.cpp
M +4 -5 kmymoney/dialogs/kconfirmmanualenterdlg.cpp
M +1 -2 kmymoney/dialogs/kcurrencycalculator.cpp
M +4 -7 kmymoney/dialogs/kcurrencyeditdlg.cpp
M +2 -3 kmymoney/dialogs/kenterscheduledlg.cpp
M +5 -9 kmymoney/dialogs/kequitypriceupdatedlg.cpp
M +1 -1 kmymoney/dialogs/kgeneratesqldlg.cpp
M +1 -2 kmymoney/dialogs/kmymoneypricedlg.cpp
M +7 -11 kmymoney/dialogs/kmymoneysplittable.cpp
M +9 -15 kmymoney/dialogs/knewaccountdlg.cpp
M +2 -2 kmymoney/dialogs/kreportconfigurationfilterdlg.cpp
M +3 -6 kmymoney/dialogs/ksplittransactiondlg.cpp
M +8 -12 kmymoney/dialogs/transactioneditor.cpp
M +8 -10 kmymoney/dialogs/transactionmatcher.cpp
M +157 -244 kmymoney/kmymoney.cpp
M +5 -8 kmymoney/kmymoneyutils.cpp
M +2 -2 kmymoney/main.cpp
M +2 -3 kmymoney/models/accountsmodel.cpp
M +1 -1 kmymoney/mymoney/autotest.h
M +2 -2 kmymoney/mymoney/mymoneyaccount.cpp
M +2 -4 kmymoney/mymoney/mymoneyaccounttest.cpp
M +1 -2 kmymoney/mymoney/mymoneybalancecachetest.cpp
M +8 -11 kmymoney/mymoney/mymoneyexceptiontest.cpp
M +65 -82 kmymoney/mymoney/mymoneyfile.cpp
M +78 -140 kmymoney/mymoney/mymoneyfiletest.cpp
M +6 -7 kmymoney/mymoney/mymoneyfinancialcalculator.cpp
M +5 -10 kmymoney/mymoney/mymoneyfinancialcalculatortest.cpp
M +5 -6 kmymoney/mymoney/mymoneyforecast.cpp
M +10 -18 kmymoney/mymoney/mymoneyforecasttest.cpp
M +2 -2 kmymoney/mymoney/mymoneyinstitution.cpp
M +2 -4 kmymoney/mymoney/mymoneyinstitutiontest.cpp
M +1 -1 kmymoney/mymoney/mymoneykeyvaluecontainer.cpp
M +3 -6 kmymoney/mymoney/mymoneykeyvaluecontainertest.cpp
M +3 -3 kmymoney/mymoney/mymoneymoney.h
M +2 -4 kmymoney/mymoney/mymoneymoneytest.cpp
M +1 -1 kmymoney/mymoney/mymoneyobject.cpp
M +4 -8 kmymoney/mymoney/mymoneyobjecttest.cpp
M +2 -2 kmymoney/mymoney/mymoneypayee.cpp
M +2 -2 kmymoney/mymoney/mymoneyprice.cpp
M +2 -4 kmymoney/mymoney/mymoneypricetest.cpp
M +1 -1 kmymoney/mymoney/mymoneyreport.cpp
M +12 -13 kmymoney/mymoney/mymoneyschedule.cpp
M +9 -18 kmymoney/mymoney/mymoneyscheduletest.cpp
M +1 -1 kmymoney/mymoney/mymoneysecurity.cpp
M +1 -1 kmymoney/mymoney/mymoneysplit.cpp
M +3 -6 kmymoney/mymoney/mymoneysplittest.cpp
M +1 -1 kmymoney/mymoney/mymoneytag.cpp
M +4 -5 kmymoney/mymoney/mymoneytestutils.cpp
M +11 -12 kmymoney/mymoney/mymoneytransaction.cpp
M +20 -36 kmymoney/mymoney/mymoneytransactiontest.cpp
M +84 -83 kmymoney/mymoney/storage/mymoneydatabasemgr.cpp
M +80 -112 kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
M +1 -1 kmymoney/mymoney/storage/mymoneydbdef.cpp
M +2 -2 kmymoney/mymoney/storage/mymoneydbdriver.cpp
M +10 -11 kmymoney/mymoney/storage/mymoneymap.h
M +58 -58 kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp
M +74 -139 kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp
M +1 -1 kmymoney/mymoney/storage/mymoneystorageanon.cpp
M +1 -2 kmymoney/mymoney/storage/mymoneystoragedump.cpp
M +221 -213 kmymoney/mymoney/storage/mymoneystoragesql.cpp
M +3 -4 kmymoney/mymoney/storage/mymoneystoragexml.cpp
M +2 -3 kmymoney/plugins/csvexport/csvwriter.cpp
M +4 -7 kmymoney/plugins/csvimport/csvutil.cpp
M +1 -2 kmymoney/plugins/kbanking/mymoneybanking.cpp
M +2 -3 kmymoney/plugins/ofximport/ofximporterplugin.cpp
M +3 -4 kmymoney/reports/objectinfotable.cpp
M +22 -22 kmymoney/reports/pivottable.cpp
M +4 -6 kmymoney/reports/pivottabletest.cpp
M +1 -1 kmymoney/reports/querytable.cpp
M +12 -18 kmymoney/reports/querytabletest.cpp
M +1 -1 kmymoney/reports/reportstestcommon.cpp
M +3 -5 kmymoney/reports/reporttable.cpp
M +2 -3 kmymoney/views/kaccountsview.cpp
M +7 -11 kmymoney/views/kbudgetview.cpp
M +2 -3 kmymoney/views/kforecastview.cpp
M +6 -11 kmymoney/views/kgloballedgerview.cpp
M +4 -6 kmymoney/views/khomeview.cpp
M +8 -15 kmymoney/views/kinvestmentview.cpp
M +48 -72 kmymoney/views/kmymoneyview.cpp
M +9 -14 kmymoney/views/kpayeesview.cpp
M +7 -12 kmymoney/views/kreportsview.cpp
M +14 -21 kmymoney/views/kscheduledview.cpp
M +9 -14 kmymoney/views/ktagsview.cpp
M +1 -2 kmymoney/widgets/kmymoneybriefschedule.cpp
M +6 -9 kmymoney/widgets/kmymoneyscheduleddatetbl.cpp
M +2 -3 kmymoney/widgets/register.cpp
M +2 -3 kmymoney/widgets/selectedtransaction.cpp
M +1 -2 kmymoney/widgets/stdtransactionmatched.cpp
M +2 -3 kmymoney/widgets/transaction.cpp
M +3 -5 kmymoney/wizards/endingbalancedlg/kendingbalancedlg.cpp
M +4 -5 kmymoney/wizards/newaccountwizard/knewaccountwizard.cpp
M +2 -3 kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp
M +3 -4 kmymoney/wizards/newloanwizard/interestcategorywizardpage.cpp
M +3 -6 kmymoney/wizards/newloanwizard/keditloanwizard.cpp
M +4 -5 kmymoney/wizards/newloanwizard/knewloanwizard.cpp
M +3 -5 kmymoney/wizards/newloanwizard/loanattributeswizardpage.cpp
M +4 -6 kmymoney/wizards/newloanwizard/summarywizardpage.cpp
http://commits.kde.org/kmymoney/c7cd2925209dd2429f2d0814ebe0cbe954f09a6a
More information about the kde-doc-english
mailing list