Skip to content

Commit

Permalink
TIKA-4296: use valid start page
Browse files Browse the repository at this point in the history
  • Loading branch information
THausherr committed Aug 7, 2024
1 parent ca3df0b commit ed88e20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ protected void processPages(PDPageTree pages) throws IOException {
// && (endBookmarkPageNumber == -1 ||
// currentPageNo <= endBookmarkPageNumber))
// {
super.setStartPage(-1);
super.setStartPage(1);
for (PDPage page : pages) {
if (getCurrentPageNo() >= getStartPage() && getCurrentPageNo() <= getEndPage()) {
processPage(page);
Expand Down

0 comments on commit ed88e20

Please sign in to comment.