Commit eef71544123cc56c08e89be34380a867af24a0a0
1 parent
62c1b423
typo
git-svn-id: svn+q:///qpdf/trunk@971 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing
1 changed file
with
1 additions
and
1 deletions
libqpdf/QPDF.cc
| @@ -541,7 +541,7 @@ QPDF::read_xref(off_t xref_offset) | @@ -541,7 +541,7 @@ QPDF::read_xref(off_t xref_offset) | ||
| 541 | int max_obj = 0; | 541 | int max_obj = 0; |
| 542 | if (! xref_table.empty()) | 542 | if (! xref_table.empty()) |
| 543 | { | 543 | { |
| 544 | - (*(xref_table.rbegin())).first.obj; | 544 | + max_obj = (*(xref_table.rbegin())).first.obj; |
| 545 | } | 545 | } |
| 546 | if (! this->deleted_objects.empty()) | 546 | if (! this->deleted_objects.empty()) |
| 547 | { | 547 | { |