mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:57:44 +00:00
LibPDF: Fix a typo in a function name
...and while here, a comment typo too.
This commit is contained in:
parent
1177308afb
commit
93357a8b70
2 changed files with 3 additions and 3 deletions
|
@ -446,7 +446,7 @@ PDFErrorOr<NonnullRefPtr<StreamObject>> Parser::parse_stream(NonnullRefPtr<DictO
|
|||
ReadonlyBytes bytes;
|
||||
|
||||
auto maybe_length = dict->get(CommonNames::Length);
|
||||
if (maybe_length.has_value() && m_document->can_resolve_refefences()) {
|
||||
if (maybe_length.has_value() && m_document->can_resolve_references()) {
|
||||
// The PDF writer has kindly provided us with the direct length of the stream
|
||||
m_reader.save();
|
||||
auto length = TRY(m_document->resolve_to<int>(maybe_length.value()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue