Subversion Repositories spk

Rev

Rev 109 | Rev 113 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 109 Rev 112
Line 1410... Line 1410...
1410
{
1410
{
1411
	Utils::String data;
1411
	Utils::String data;
1412
 
1412
 
1413
	for(std::vector<STypesSection *>::iterator itr = list.begin(); itr != list.end(); itr++) {
1413
	for(std::vector<STypesSection *>::iterator itr = list.begin(); itr != list.end(); itr++) {
1414
		data += (*itr)->sSection + "; " + (long)(*itr)->lEntries.size() + ";\r\n";
1414
		data += (*itr)->sSection + "; " + (long)(*itr)->lEntries.size() + ";\r\n";
1415
		for(Utils::SStringList *str = (*itr)->lEntries.First(); str; str = (*itr)->lEntries.Next()) {
1415
		for(Utils::SStringList *str = (*itr)->lEntries.first(); str; str = (*itr)->lEntries.next()) {
1416
			data += str->str + "\r\n";
1416
			data += str->str + "\r\n";
1417
		}
1417
		}
1418
 
1418
 
1419
		if ( deleteAfter ) {
1419
		if ( deleteAfter ) {
1420
			(*itr)->lEntries.MemoryClear();
1420
			(*itr)->lEntries.clear();
1421
			delete *itr;
1421
			delete *itr;
1422
		}
1422
		}
1423
	}
1423
	}
1424
 
1424
 
1425
	return data;
1425
	return data;