Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fixed issue where a zero length libre office document with a water mark ... #18
Conversation
|
Any chance you could update the unit test to also check that we correctly found the image in the header? |
rojotek
commented
Feb 24, 2015
|
how does that look @Gagravarr ? |
|
Is it worth also asserting that the text of the header is empty, do you think? Also, I've just noticed the naming of things like |
rojotek
commented
Feb 24, 2015
|
Asserting that the text is empty probably makes sense (so have coded it up :) ). |
|
Purely style changes, but were it me:
|
rojotek
commented
Feb 24, 2015
|
was that what you had in mind? |
|
Perfect, thanks! Committed in r1661908. |
rojotek
commented
Feb 24, 2015
|
Commited through svn and in trunk so closing this PR. |
rojotek commentedFeb 23, 2015
...image was causing an identifier out of range bug.
What's this PR do?
Changes the min value for the identifier manager in XWPFDocument to be 0, as the included test document had an identifier with value 0.
Document Sourced from libre office with a watermark and no text.
The newly added testcase will fail if the code change is removed.