mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:58:11 +00:00
LibPDF: Convert to east-const to comply with the recent style changes
This commit is contained in:
parent
0a4d8ef98d
commit
612b183703
17 changed files with 120 additions and 120 deletions
|
@ -15,7 +15,7 @@ NonnullRefPtr<Object> ArrayObject::get_object_at(Document* document, size_t inde
|
|||
return document->resolve_to<Object>(m_elements[index]);
|
||||
}
|
||||
|
||||
NonnullRefPtr<Object> DictObject::get_object(Document* document, const FlyString& key) const
|
||||
NonnullRefPtr<Object> DictObject::get_object(Document* document, FlyString const& key) const
|
||||
{
|
||||
return document->resolve_to<Object>(get_value(key));
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ NonnullRefPtr<Object> DictObject::get_object(Document* document, const FlyString
|
|||
return document->resolve_to<class_name>(m_elements[index]); \
|
||||
} \
|
||||
\
|
||||
NonnullRefPtr<class_name> DictObject::get_##snake_name(Document* document, const FlyString& key) const \
|
||||
NonnullRefPtr<class_name> DictObject::get_##snake_name(Document* document, FlyString const& key) const \
|
||||
{ \
|
||||
return document->resolve_to<class_name>(get(key).value()); \
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue