Commit 7a804090b3c1a21510f67d57ae8f3ea4a1d9626f
1 parent
1431c053
update patch
git-svn-id: svn+q:///qpdf/trunk@937 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing
1 changed file
with
3 additions
and
13 deletions
TODO
| @@ -23,9 +23,9 @@ General | @@ -23,9 +23,9 @@ General | ||
| 23 | ------------------------------ | 23 | ------------------------------ |
| 24 | Index: QPDFWriter.cc | 24 | Index: QPDFWriter.cc |
| 25 | =================================================================== | 25 | =================================================================== |
| 26 | ---- QPDFWriter.cc (revision 920) | 26 | +--- QPDFWriter.cc (revision 932) |
| 27 | +++ QPDFWriter.cc (working copy) | 27 | +++ QPDFWriter.cc (working copy) |
| 28 | -@@ -1958,11 +1960,15 @@ | 28 | +@@ -1965,11 +1965,15 @@ |
| 29 | 29 | ||
| 30 | // Write file in two passes. Part numbers refer to PDF spec 1.4. | 30 | // Write file in two passes. Part numbers refer to PDF spec 1.4. |
| 31 | 31 | ||
| @@ -42,17 +42,7 @@ Index: QPDFWriter.cc | @@ -42,17 +42,7 @@ Index: QPDFWriter.cc | ||
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | // Part 1: header | 44 | // Part 1: header |
| 45 | -@@ -2037,7 +2043,8 @@ | ||
| 46 | - t_lin_first, first_half_start, first_half_end, | ||
| 47 | - first_trailer_size, | ||
| 48 | - hint_length + second_xref_offset, | ||
| 49 | -- hint_id, hint_offset, hint_length); | ||
| 50 | -+ hint_id, hint_offset, hint_length, | ||
| 51 | -+ (pass == 1)); | ||
| 52 | - int endpos = this->pipeline->getCount(); | ||
| 53 | - if (pass == 1) | ||
| 54 | - { | ||
| 55 | -@@ -2187,6 +2194,8 @@ | 45 | +@@ -2204,6 +2208,8 @@ |
| 56 | 46 | ||
| 57 | // Restore hint offset | 47 | // Restore hint offset |
| 58 | this->xref[hint_id] = QPDFXRefEntry(1, hint_offset, 0); | 48 | this->xref[hint_id] = QPDFXRefEntry(1, hint_offset, 0); |