View | Details | Raw Unified | Return to bug 56468
Collapse All | Expand All

(-)src/ooxml/java/org/apache/poi/POIXMLProperties.java (+3 lines)
Lines 148-153 Link Here
148
			xmlOptions.setSaveSuggestedPrefixes(map);
148
			xmlOptions.setSaveSuggestedPrefixes(map);
149
149
150
			OutputStream out = extPart.getOutputStream();
150
			OutputStream out = extPart.getOutputStream();
151
			if (extPart.getSize() > 0) {
152
                extPart.clear();
153
            }
151
			ext.props.save(out, xmlOptions);
154
			ext.props.save(out, xmlOptions);
152
			out.close();
155
			out.close();
153
		}
156
		}

Return to bug 56468