Browse Source

[Minor] Pet luacheck

tags/2.3
Vsevolod Stakhov 4 years ago
parent
commit
8641e1a580
1 changed files with 0 additions and 13 deletions
  1. 0
    13
      lualib/lua_content/pdf.lua

+ 0
- 13
lualib/lua_content/pdf.lua View File

@@ -377,20 +377,6 @@ local function maybe_dereference_object(elt, pdf, task)
return elt
end

local function dereference_object(elt, pdf)
if type(elt) == 'table' and elt[1] == '%REF%' then
local ref = obj_ref(elt[2], elt[3])

if pdf.ref[ref] then
-- Not a dict but the object!
return pdf.ref[ref]
end
end

return nil
end

-- Apply PDF stream filter
local function apply_pdf_filter(input, filt)
if filt == 'FlateDecode' then

Loading…
Cancel
Save