diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2018-05-07 16:12:51 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2018-05-07 16:12:51 +0800 |
commit | 38ad20efc11c1872c4e62a12617f0300c138b867 (patch) | |
tree | 7190083ed4fa8ddaa1ec3b9ecb260423451f3164 /shape.go | |
parent | bc451a78de32ccde2a4f6d0851ea6e41e45408f1 (diff) |
save bytes on memory instead of string
Diffstat (limited to 'shape.go')
-rw-r--r-- | shape.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -390,7 +390,7 @@ func (f *File) addDrawingShape(sheet, drawingXML, cell string, formatSet *format } content.TwoCellAnchor = append(content.TwoCellAnchor, &twoCellAnchor) output, _ := xml.Marshal(content) - f.saveFileList(drawingXML, string(output)) + f.saveFileList(drawingXML, output) } // setShapeRef provides function to set color with hex model by given actual |