From 8e0032940fc385844674bc482efde5e24aeed28f Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 15 Apr 2017 11:53:14 +0200
Subject: [PATCH] Docx reader: removed readDocxWithWarnings (API change).

No longer necessary with pandoc 2.0 framework.
---
 src/Text/Pandoc/Readers/Docx.hs | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/Text/Pandoc/Readers/Docx.hs b/src/Text/Pandoc/Readers/Docx.hs
index a5efdae57..683277993 100644
--- a/src/Text/Pandoc/Readers/Docx.hs
+++ b/src/Text/Pandoc/Readers/Docx.hs
@@ -71,8 +71,7 @@ implemented, [-] means partially implemented):
 -}
 
 module Text.Pandoc.Readers.Docx
-       ( readDocxWithWarnings
-       , readDocx
+       ( readDocx
        ) where
 
 import Codec.Archive.Zip
@@ -117,13 +116,6 @@ readDocx opts bytes
 readDocx _ _ =
   throwError $ PandocSomeError "couldn't parse docx file"
 
--- TODO remove this for 2.0:
-readDocxWithWarnings :: PandocMonad m
-         => ReaderOptions
-         -> B.ByteString
-         -> m Pandoc
-readDocxWithWarnings = readDocx
-
 data DState = DState { docxAnchorMap :: M.Map String String
                      , docxMediaBag  :: MediaBag
                      , docxDropCap   :: Inlines