summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdftext_embeddertest.cpp
diff options
context:
space:
mode:
authorart-snake <art-snake@yandex-team.ru>2016-10-31 12:25:30 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-31 12:25:30 -0700
commit461b1d93f717e248ceb3c1e1bbb8285ba3258f8c (patch)
tree6af82267214e3ff24cbf9a8f376a8ab59c5f7cc9 /fpdfsdk/fpdftext_embeddertest.cpp
parent96c7b33510c5d48ef5707326de88b35dcd2e4b45 (diff)
downloadpdfium-461b1d93f717e248ceb3c1e1bbb8285ba3258f8c.tar.xz
Fix loading page using hint tables.
When linearized document have hint table, The FPDFAvail_IsPageAvail return true, but FPDF_LoadPage return nullptr, for non first pages. This happens, bacause document not use hint tables, to load page. To fix this, I force save the page's ObjNum in document. This is restoring of original fix: https://codereview.chromium.org/2437773003/ Review-Url: https://codereview.chromium.org/2444903002
Diffstat (limited to 'fpdfsdk/fpdftext_embeddertest.cpp')
0 files changed, 0 insertions, 0 deletions