equal
deleted
inserted
replaced
168 |
168 |
169 if (result > 0) |
169 if (result > 0) |
170 return 1; |
170 return 1; |
171 else if (result == KErrCorrupt || result == KErrNotSupported) |
171 else if (result == KErrCorrupt || result == KErrNotSupported) |
172 { |
172 { |
173 throw InvalidE32ImageError(INVALIDE32IMAGEERROR, (char *)afileName); |
173 throw InvalidE32ImageError(INVALIDE32IMAGEERROR, (char*)afileName); |
174 } |
174 } |
175 else if (result != 0) |
175 else if (result != 0) |
176 { |
176 { |
177 throw FileError(FILEREADERROR, (char *)afileName); |
177 throw FileError(FILEREADERROR, (char*)afileName); |
178 } |
178 } |
179 |
179 |
180 int dumpOptions=iParameterListInterface->DumpOptions(); |
180 int dumpOptions=iParameterListInterface->DumpOptions(); |
181 |
181 |
182 aE32Imagefile->Dump((TText*)afileName, dumpOptions); |
182 aE32Imagefile->Dump(afileName, dumpOptions); |
183 delete aE32Imagefile; |
183 delete aE32Imagefile; |
184 return KErrNone; |
184 return KErrNone; |
185 } |
185 } |
186 |
186 |