summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
Diffstat (limited to 'sheet.go')
-rw-r--r--sheet.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/sheet.go b/sheet.go
index 935deac..ed6d888 100644
--- a/sheet.go
+++ b/sheet.go
@@ -5,7 +5,7 @@
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excelâ„¢ 2007 and later. Support save file without losing original
-// charts of XLSX. This library needs Go version 1.8 or later.
+// charts of XLSX. This library needs Go version 1.10 or later.
package excelize
@@ -740,9 +740,7 @@ func (f *File) searchSheet(name, value string, regSearch bool) ([]string, error)
result []string
r xlsxRow
)
- xml.NewDecoder(bytes.NewReader(f.readXML(name)))
d := f.sharedStringsReader()
-
decoder := xml.NewDecoder(bytes.NewReader(f.readXML(name)))
for {
token, _ := decoder.Token()