+ Fix gcc build errors/improve whitespaces

This commit is contained in:
wmayer
2013-09-26 15:39:25 +02:00
parent ec0a5ccb0c
commit 3a27371ba9
3 changed files with 19 additions and 21 deletions

View File

@@ -304,7 +304,8 @@ void Base::XMLReader::readFiles(zipios::ZipInputStream &zipstream) const
// no file name for the current entry in the zip was registered.
if (jt != FileList.end()) {
try {
jt->Object->RestoreDocFile(Base::Reader(zipstream,DocumentSchema));
Base::Reader reader(zipstream,DocumentSchema);
jt->Object->RestoreDocFile(reader);
}
catch(...) {
// For any exception we just continue with the next file.