diff options
author | xuri <xuri.me@gmail.com> | 2020-03-29 18:44:24 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-03-29 18:44:24 +0800 |
commit | 3f89c6e9799c9c82af1305f080416c53d19e64c1 (patch) | |
tree | 1c660c4ae8291e09cf71519b5e0c0ee69cb65cb0 /styles.go | |
parent | 6afc468a025984aa1b265b0228f032c5ed881a3b (diff) |
remove ineffectual variable assignments and simplify code
Diffstat (limited to 'styles.go')
-rw-r--r-- | styles.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1018,7 +1018,7 @@ func (f *File) stylesReader() *xlsxStyleSheet { func (f *File) styleSheetWriter() { if f.Styles != nil { output, _ := xml.Marshal(f.Styles) - f.saveFileList("xl/styles.xml", replaceWorkSheetsRelationshipsNameSpaceBytes(output)) + f.saveFileList("xl/styles.xml", replaceRelationshipsNameSpaceBytes(output)) } } |