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 fca6a25 commit de1ebfc
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 de1ebfc

Please sign in to comment.