Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/mymoneyreport.cpp
Context not available. | |||||
182 | //throw exception if the type is inconsistent | 182 | //throw exception if the type is inconsistent | ||
---|---|---|---|---|---|
183 | if ((rt > static_cast<ERowType>(sizeof(kTypeArray) / sizeof(kTypeArray[0]))) | 183 | if ((rt > static_cast<ERowType>(sizeof(kTypeArray) / sizeof(kTypeArray[0]))) | ||
184 | || (d->m_reportType == eNoReport)) | 184 | || (d->m_reportType == eNoReport)) | ||
185 | throw MYMONEYEXCEPTION("Invalid report type"); | 185 | throw MYMONEYEXCEPTION_CSTRING("Invalid report type"); | ||
186 | 186 | | |||
187 | //add the corresponding account groups | 187 | //add the corresponding account groups | ||
188 | if (rt == MyMoneyReport::eAssetLiability) { | 188 | if (rt == MyMoneyReport::eAssetLiability) { | ||
Context not available. |