summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-08-08 09:47:00 +0800
committerGitHub <noreply@github.com>2019-08-08 09:47:00 +0800
commit448f5524a8ea621fd40978dcc518ff6d9bbcdf83 (patch)
tree68a039a7d419e8805d89b8b2028c7b0f519bc7b6 /rows.go
parentd8df51098f11eaa520112c6d043509b893bf0097 (diff)
parente07581e980444b64bc15fce328ff07736ac9dbf6 (diff)
Merge pull request #461 from mlh758/fix-439
Further improve read performance
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rows.go b/rows.go
index cb0e31f..220c233 100644
--- a/rows.go
+++ b/rows.go
@@ -112,8 +112,8 @@ func (f *File) Rows(sheet string) (*Rows, error) {
return nil, ErrSheetNotExist{sheet}
}
if xlsx != nil {
- output, _ := xml.Marshal(f.Sheet[name])
- f.saveFileList(name, replaceWorkSheetsRelationshipsNameSpaceBytes(output))
+ data := f.readXML(name)
+ f.saveFileList(name, replaceWorkSheetsRelationshipsNameSpaceBytes(namespaceStrictToTransitional(data)))
}
return &Rows{
f: f,