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 9, 2024
1 parent 4e95cb9 commit 7fd48d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,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 7fd48d6

Please sign in to comment.