From a526e90404913f5d649d29a7aeee29f5ac9ff590 Mon Sep 17 00:00:00 2001
From: xuri <xuri.me@gmail.com>
Date: Mon, 16 Dec 2019 08:32:04 +0800
Subject: Fix #426, handle empty workbook view

---
 xmlWorkbook.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'xmlWorkbook.go')

diff --git a/xmlWorkbook.go b/xmlWorkbook.go
index 765563b..e9ded6c 100644
--- a/xmlWorkbook.go
+++ b/xmlWorkbook.go
@@ -33,7 +33,7 @@ type xlsxWorkbook struct {
 	FileVersion         *xlsxFileVersion         `xml:"fileVersion"`
 	WorkbookPr          *xlsxWorkbookPr          `xml:"workbookPr"`
 	WorkbookProtection  *xlsxWorkbookProtection  `xml:"workbookProtection"`
-	BookViews           xlsxBookViews            `xml:"bookViews"`
+	BookViews           *xlsxBookViews           `xml:"bookViews"`
 	Sheets              xlsxSheets               `xml:"sheets"`
 	ExternalReferences  *xlsxExternalReferences  `xml:"externalReferences"`
 	DefinedNames        *xlsxDefinedNames        `xml:"definedNames"`
-- 
cgit v1.2.1