]> source.dussan.org Git - poi.git/commit
Ensure that XWPFParagraph.getDocument() is not null
authorMaxim Valyanskiy <maxcom@apache.org>
Thu, 28 Oct 2010 13:02:43 +0000 (13:02 +0000)
committerMaxim Valyanskiy <maxcom@apache.org>
Thu, 28 Oct 2010 13:02:43 +0000 (13:02 +0000)
commit48ef63e2c50e528d8dacab929a214293f27bcb23
treed8d64a9b057a6872162eafbbefff3138037c4260
parent1f49e93b24b9d4790717b1464ef7ce4aec619a0b
Ensure that XWPFParagraph.getDocument() is not null
    (Null getDocument() causes NPE when looking for comments in XWPFWordExtractorDecorator)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1028283 13f79535-47bb-0310-9956-ffa450edef68
16 files changed:
src/ooxml/java/org/apache/poi/POIXMLDocumentPart.java
src/ooxml/java/org/apache/poi/POIXMLFactory.java
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFactory.java
src/ooxml/java/org/apache/poi/xwpf/model/XWPFHeaderFooterPolicy.java
src/ooxml/java/org/apache/poi/xwpf/usermodel/IBody.java
src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFComment.java
src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java
src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFFactory.java
src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFFooter.java
src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeader.java
src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeaderFooter.java
src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java
src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTableCell.java
src/ooxml/testcases/org/apache/poi/TestPOIXMLDocument.java
src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFHeader.java
src/ooxml/testcases/org/apache/poi/xwpf/usermodel/TestXWPFTable.java