Improved coding style in EpsImage

v0.27.3
vog 14 years ago
parent 3db4d31938
commit aa60fc8d96

@ -275,8 +275,8 @@ namespace {
const bool readOnly = xmpTrailers[j].second; const bool readOnly = xmpTrailers[j].second;
if (readOnly) { if (readOnly) {
#ifndef SUPPRESS_WARNINGS #ifndef SUPPRESS_WARNINGS
EXV_WARNING << "Unable to handle read-only XMP metadata yet. Please provide your" EXV_WARNING << "Unable to handle read-only XMP metadata yet. Please provide your "
" sample EPS file to the Exiv2 project: http://dev.exiv2.org/projects/exiv2\n"; "sample EPS file to the Exiv2 project: http://dev.exiv2.org/projects/exiv2\n";
#endif #endif
throw Error(write ? 21 : 14); throw Error(write ? 21 : 14);
} }
@ -566,8 +566,8 @@ namespace {
throw Error(write ? 21 : 14); throw Error(write ? 21 : 14);
} else if (startsWith(line, "%%Include")) { } else if (startsWith(line, "%%Include")) {
#ifndef SUPPRESS_WARNINGS #ifndef SUPPRESS_WARNINGS
EXV_WARNING << "Unable to handle PostScript %%Include DSC comments yet. Please provide your" EXV_WARNING << "Unable to handle PostScript %%Include DSC comments yet. Please provide your "
" sample EPS file to the Exiv2 project: http://dev.exiv2.org/projects/exiv2\n"; "sample EPS file to the Exiv2 project: http://dev.exiv2.org/projects/exiv2\n";
#endif #endif
throw Error(write ? 21 : 14); throw Error(write ? 21 : 14);
} else { } else {

Loading…
Cancel
Save