2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-23 03:18:59 +00:00

Fix code formatting of QPDF::pushInheritedAttributesToPageInternal

This commit is contained in:
m-holger 2022-07-12 20:16:00 +01:00
parent 0356bcecc5
commit 903a86643a

View File

@ -221,8 +221,7 @@ QPDF::pushInheritedAttributesToPageInternal(
// but flattening removes intermediate /Pages nodes. // but flattening removes intermediate /Pages nodes.
if ((warn_skipped_keys) && (cur_pages.hasKey("/Parent"))) { if ((warn_skipped_keys) && (cur_pages.hasKey("/Parent"))) {
QTC::TC("qpdf", "QPDF unknown key not inherited"); QTC::TC("qpdf", "QPDF unknown key not inherited");
setLastObjectDescription( setLastObjectDescription("Pages object", cur_pages.getObjGen());
"Pages object", cur_pages.getObjGen());
warn( warn(
qpdf_e_pages, qpdf_e_pages,
this->m->last_object_description, this->m->last_object_description,
@ -249,8 +248,7 @@ QPDF::pushInheritedAttributesToPageInternal(
QTC::TC("qpdf", "QPDF opt resource inherited"); QTC::TC("qpdf", "QPDF opt resource inherited");
kid.replaceKey(key, iter.second.back()); kid.replaceKey(key, iter.second.back());
} else { } else {
QTC::TC( QTC::TC("qpdf", "QPDF opt page resource hides ancestor");
"qpdf", "QPDF opt page resource hides ancestor");
} }
} }
} }