Forgot to remove commented-out dead code

This commit is contained in:
Tissevert 2020-02-05 19:49:03 +01:00
parent b859338a57
commit b5a15a692b

View file

@ -92,7 +92,6 @@ loadFonts = foldM addFont Map.empty . Map.toList
addFont :: FontSet -> (Name, DirectObject) -> T FontSet addFont :: FontSet -> (Name, DirectObject) -> T FontSet
addFont output (name, Reference (IndirectObjCoordinates {objectId})) = addFont output (name, Reference (IndirectObjCoordinates {objectId})) =
flip (Map.insert name) output <$> cache loadFont objectId flip (Map.insert name) output <$> cache loadFont objectId
--maybe output (flip (Map.insert name) output) <$> cache loadFont objectId
addFont output _ = return output addFont output _ = return output
getObject :: ObjectId -> T Object getObject :: ObjectId -> T Object