summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/app.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-24 09:22:01 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-24 09:22:01 -0800
commita2167107bbcef6a3e3687d49a5b1e62503391316 (patch)
treec63995427c467f01cd6f10d80c5afcdb34f2245c /fpdfsdk/src/javascript/app.cpp
parenta96043b4d16446042733c3b381ad62eb267b4890 (diff)
downloadpdfium-a2167107bbcef6a3e3687d49a5b1e62503391316.tar.xz
Fix wrong page count returned in FPDF_GetPageCount() for dynamic XFA files
In FPDF_GetPageCount(), 'document' is converted to a non-XFA document pointer (CPDF_Document*). So it only returns non-XFA or static XFA page count. If XFA files include dynamic XFA fields on some pages, the returned value doesn't reflect these pages. BUG=pdfium:278 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1442753005 .
Diffstat (limited to 'fpdfsdk/src/javascript/app.cpp')
0 files changed, 0 insertions, 0 deletions