/[Apache-SVN]
ViewVC logotype

Revision 1794111


Jump to revision: Previous Next
Author: gwoolsey
Date: Fri May 5 21:50:59 2017 UTC (7 years, 6 months ago)
Changed paths: 1
Log Message:
60184 - invalid OOXML produced when XSSFFont.getFamily() called with no families defined

Fix to stop creating an empty family when none exist, just use the existing logic to return NOT_APPLICABLE.  Creating the empty element produces XML that doesn't comply with the XSD.

Alternative would have been to set the family int value for the new family, but this way checking the value doesn't change the output, which is my preferred behavior.  No quantum effects!

Changed paths

Path Details
Directorypoi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFont.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26