Skip to content

Commit

Permalink
Fix the crash when extracting tables on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
iljukhaput committed Sep 27, 2024
1 parent 05d8777 commit 0222e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TextExtraction/TableExtraction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ EStatusCode TableExtraction::ExtractTablePlacements(PDFParser* inParser, long in
break;
}

PDFPageInput pageInput(inParser,pageObject.GetPtr());
PDFPageInput pageInput(inParser,pageObject);

mediaBoxesForPages.push_back(pageInput.GetMediaBox());
textsForPages.push_back(ParsedTextPlacementList());
Expand Down Expand Up @@ -180,4 +180,4 @@ string TableExtraction::GetAllAsCSVText(int bidiFlag, TextComposer::ESpacing spa
}

return exporter.GetText();
}
}

0 comments on commit 0222e1b

Please sign in to comment.