| 367 | } |
| 368 | |
| 369 | void ZipWriter::writeFiles() |
| 370 | { |
| 371 | // use a while loop because it is possible that while |
| 372 | // processing the files new ones can be added |
| 373 | size_t index = 0; |
| 374 | while (index < FileList.size()) { |
| 375 | FileEntry entry = FileList[index]; |
| 376 | putNextEntry(entry.FileName.c_str()); |
| 377 | indent = 0; |
| 378 | indBuf[0] = 0; |
| 379 | entry.Object->SaveDocFile(*this); |
| 380 | index++; |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | ZipWriter::~ZipWriter() |
| 385 | { |
no test coverage detected