Explorar o código

Fix #413, make pivot cache ID not omit empty

xuri %!s(int64=6) %!d(string=hai) anos
pai
achega
d038ca2e9c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"`
 }