1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:37:45 +00:00

LibPDF: Extract Parser::parse_inline_image()

Pure code move, no intended behavior change.

The motivation is just to make Parser::parse_operators() less nested
and more focused.
This commit is contained in:
Nico Weber 2023-12-21 22:01:43 -05:00 committed by Andreas Kling
parent f972eda7ed
commit 3d07684891
2 changed files with 45 additions and 40 deletions

View file

@ -73,6 +73,8 @@ public:
void pop_reference() { m_current_reference_stack.take_last(); }
protected:
PDFErrorOr<NonnullRefPtr<StreamObject>> parse_inline_image();
Error error(
ByteString const& message
#ifdef PDF_DEBUG