git.iko.soy/typeable/pandoc
on master help sign in
Fixed shadowing warnings.
commit73f57daf69d4f1dbeb4b2574eb4e85280293ed67 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 16 Jan 2017, 21:10 (10 years ago) parent00f6549
1 file changed+3−3
src/Text/Pandoc/Writers/OpenDocument.hs+3−3
src/Text/Pandoc/Writers/OpenDocument.hs+3−3
@@ -35,7 +35,7 @@ import Text.Pandoc.Options
3535import Text.Pandoc.XML
3636import Text.Pandoc.Shared (linesToPara)
3737import Text.Pandoc.Templates (renderTemplate')
38−import Text.Pandoc.Readers.Odt.StyleReader
38+import Text.Pandoc.Readers.Odt.StyleReader hiding (listStyle)
3939import Text.Pandoc.Writers.Math
4040import Text.Pandoc.Pretty
4141import Text.Printf ( printf )
@@ -392,9 +392,9 @@ blockToOpenDocument o bs
392392 paragraph inlines = inParagraphTags =<< inlinesToOpenDocument o inlines
393393
394394 paraWithBreak :: PandocMonad m => ParaBreak -> [Inline] -> OD m Doc
395− paraWithBreak breakKind bs = do
395+ paraWithBreak breakKind bs' = do
396396 pn <- paraBreakStyle breakKind
397− withParagraphStyle o ("P" ++ show pn) [Para bs]
397+ withParagraphStyle o ("P" ++ show pn) [Para bs']
398398
399399colHeadsToOpenDocument :: PandocMonad m
400400 => WriterOptions -> String -> [String] -> [[Block]]