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

(-)src/java/org/apache/poi/hssf/record/StyleRecord.java.orig (-1 / +5 lines)
Lines 173-179 Link Here
173
		} else {
173
		} else {
174
			out.writeShort(field_4_name.length());
174
			out.writeShort(field_4_name.length());
175
			out.writeByte(field_3_stringHasMultibyte ? 0x01 : 0x00);
175
			out.writeByte(field_3_stringHasMultibyte ? 0x01 : 0x00);
176
			StringUtil.putCompressedUnicode(getName(), out);
176
                        if (field_3_stringHasMultibyte) {
177
                            StringUtil.putUnicodeLE(getName(), out);
178
                        } else {
179
                            StringUtil.putCompressedUnicode(getName(), out);
180
                        }
177
		}
181
		}
178
	}
182
	}
179
183

Return to bug 46362