Changeset 10281 for trunk/Mars/mreport
- Timestamp:
- 04/04/11 10:08:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mreport/MReportFileRead.cc
r8963 r10281 114 114 // -------------------------------------------------------------------------- 115 115 // 116 // Add a new MReport* to the list (eg 'Drive' will addMReportDrive)116 // Add a new MReport* to the list. The name is the class name (eg MReportDrive) 117 117 // For convinience the object is created as a MReportHelp object. 118 118 // … … 122 122 123 123 if (!help->GetReport()) 124 { 125 delete help; 124 126 return kFALSE; 127 } 125 128 126 129 if (GetReport(help->GetName())) … … 203 206 continue; 204 207 208 // Check for MReport{str(0,pos)} 205 209 rep = GetReportHelp(str(0,pos)); 210 211 // Remove this part from the string 206 212 if (GetReport(rep)) 207 213 str.Remove(0, pos);
Note:
See TracChangeset
for help on using the changeset viewer.