AntonOellerer opened a new pull request, #640: URL: https://github.com/apache/poi/pull/640
Up until now, when trying to insert a paragraph into a header or footer via the `XWPFDocument.insertNewParagraph(XmlCursor)` method, a `ClassCastException` was thrown as the code incorrectly assumed that the object in the path to the cursor is a table in all cases. To fix this, the method was updated so that the case where the path object is the header or footer is handled appropriately. https://bz.apache.org/bugzilla/show_bug.cgi?id=69042 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org