mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:57:45 +00:00
LibPDF: Remove a needless AK:: qualification
No behavior change.
This commit is contained in:
parent
000d9da73c
commit
145ade3a86
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ PDFErrorOr<ByteBuffer> Filter::handle_lzw_and_flate_parameters(ByteBuffer buffer
|
||||||
return AK::Error::from_string_literal("Invalid predictor value");
|
return AK::Error::from_string_literal("Invalid predictor value");
|
||||||
|
|
||||||
// Rows are always a whole number of bytes long, starting with an algorithm tag
|
// Rows are always a whole number of bytes long, starting with an algorithm tag
|
||||||
size_t const bytes_per_row = AK::ceil_div(columns * colors * bits_per_component, 8) + 1;
|
size_t const bytes_per_row = ceil_div(columns * colors * bits_per_component, 8) + 1;
|
||||||
if (buffer.size() % bytes_per_row)
|
if (buffer.size() % bytes_per_row)
|
||||||
return AK::Error::from_string_literal("Flate input data is not divisible into columns");
|
return AK::Error::from_string_literal("Flate input data is not divisible into columns");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue