From 38ad20efc11c1872c4e62a12617f0300c138b867 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 7 May 2018 16:12:51 +0800 Subject: save bytes on memory instead of string --- shape.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shape.go') diff --git a/shape.go b/shape.go index f1328f7..0b93752 100644 --- a/shape.go +++ b/shape.go @@ -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 -- cgit v1.2.1