Commit bd337b8055d29cff9ba6978ccc790f7488fb5915
1 parent
f6367bba
Preserve unreferenced objects in dangling test
Showing
3 changed files
with
1 additions
and
0 deletions
qpdf/qtest/qpdf/dangling-refs-dangling-out.pdf
No preview for this file type
qpdf/qtest/qpdf/minimal-dangling-out.pdf
No preview for this file type
qpdf/test_driver.cc
| @@ -2073,6 +2073,7 @@ test_53(QPDF& pdf, char const* arg2) | @@ -2073,6 +2073,7 @@ test_53(QPDF& pdf, char const* arg2) | ||
| 2073 | 2073 | ||
| 2074 | QPDFWriter w(pdf, "a.pdf"); | 2074 | QPDFWriter w(pdf, "a.pdf"); |
| 2075 | w.setStaticID(true); | 2075 | w.setStaticID(true); |
| 2076 | + w.setPreserveUnreferencedObjects(true); | ||
| 2076 | w.write(); | 2077 | w.write(); |
| 2077 | } | 2078 | } |
| 2078 | 2079 |