瀏覽代碼

#62108 - ArrayIndexOfBounds exception when getColumnWidth()

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839710 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_4_0_0_FINAL
Andreas Beeker 5 年之前
父節點
當前提交
07705635a1
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2
    3
      src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFont.java

+ 2
- 3
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFont.java 查看文件

@@ -543,9 +543,8 @@ public class XSSFFont implements Font {
*/
public long registerTo(StylesTable styles) {
this._themes = styles.getTheme();
short idx = (short)styles.putFont(this, true);
this._index = idx;
return idx;
this._index = styles.putFont(this, true);
return this._index;
}
/**
* Records the Themes Table that is associated with

Loading…
取消
儲存