diff options
author | PJ Fanning <fanningpj@apache.org> | 2019-08-31 13:27:22 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2019-08-31 13:27:22 +0000 |
commit | 9baf2e73d93a6eda3897a3831be4693cea57eb5e (patch) | |
tree | 408fc9e7ab53043a0aa605607acdbb124d4333a5 /src/scratchpad/testcases | |
parent | 2f1da7bc437a3825d1e4063abaedeff88c364341 (diff) | |
download | poi-9baf2e73d93a6eda3897a3831be4693cea57eb5e.tar.gz poi-9baf2e73d93a6eda3897a3831be4693cea57eb5e.zip |
fix build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad/testcases')
-rw-r--r-- | src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java index e1388c4104..09c6c64b33 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestBugs.java @@ -46,11 +46,11 @@ import org.apache.poi.hwpf.model.FileInformationBlock; import org.apache.poi.hwpf.model.PicturesTable; import org.apache.poi.hwpf.model.PlexOfField; import org.apache.poi.hwpf.model.SubdocumentType; -import org.apache.poi.ooxml.util.DocumentHelper; import org.apache.poi.poifs.filesystem.POIFSFileSystem; import org.apache.poi.util.IOUtils; import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogger; +import org.apache.poi.util.XMLHelper; import org.junit.Test; import org.w3c.dom.Document; @@ -899,7 +899,7 @@ public class TestBugs{ @Test public void test59322() throws Exception { try(HWPFDocument doc = HWPFTestDataSamples.openSampleFile("59322.doc")) { - Document document = DocumentHelper.createDocument(); + Document document = XMLHelper.getDocumentBuilderFactory().newDocumentBuilder().newDocument(); WordToHtmlConverter wordToHtmlConverter = new WordToHtmlConverter(document); wordToHtmlConverter.processDocument(doc); assertNotNull(document); |