Docx reader: Clean up commented-out function
A residue of a recent change was left around in the form of a commented-out function. Let's clean that up.
This commit is contained in:
parent
186a955bd0
commit
da4103bc42
1 changed files with 0 additions and 7 deletions
|
@ -408,13 +408,6 @@ archiveToMedia :: Archive -> Media
|
|||
archiveToMedia zf =
|
||||
mapMaybe (getMediaPair zf) (filter filePathIsMedia (filesInArchive zf))
|
||||
|
||||
-- lookupLevel :: String -> String -> Numbering -> Maybe Level
|
||||
-- lookupLevel numId ilvl (Numbering _ numbs absNumbs) = do
|
||||
-- absNumId <- lookup numId $ map (\(Numb nid absnumid) -> (nid, absnumid)) numbs
|
||||
-- lvls <- lookup absNumId $ map (\(AbstractNumb aid ls) -> (aid, ls)) absNumbs
|
||||
-- lvl <- lookup ilvl $ map (\l@(i, _, _, _) -> (i, l)) lvls
|
||||
-- return lvl
|
||||
|
||||
lookupLevel :: String -> String -> Numbering -> Maybe Level
|
||||
lookupLevel numId ilvl (Numbering _ numbs absNumbs) = do
|
||||
absNumId <- lookup numId $ map (\(Numb nid absnumid) -> (nid, absnumid)) numbs
|
||||
|
|
Loading…
Reference in a new issue