소스 검색

Fix #413, make pivot cache ID not omit empty

xuri 6 년 전
부모
커밋
d038ca2e9c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      xmlWorkbook.go

+ 1 - 1
xmlWorkbook.go

@@ -175,7 +175,7 @@ type xlsxPivotCaches struct {
 
 // xlsxPivotCache directly maps the pivotCache element.
 type xlsxPivotCache struct {
-	CacheID int    `xml:"cacheId,attr,omitempty"`
+	CacheID int    `xml:"cacheId,attr"`
 	RID     string `xml:"http://schemas.openxmlformats.org/officeDocument/2006/relationships id,attr,omitempty"`
 }