diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-05-24 14:17:35 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-05-24 14:17:35 +0800 |
commit | dea57dd0aeb5507dc4f58de48b261d4013364232 (patch) | |
tree | b6c8b73affc39acb5a4305eac86cd48792446b44 /comment.go | |
parent | 70f6328150aa954cd9721e90883f001ea005c1ee (diff) |
Code optimize.
Diffstat (limited to 'comment.go')
-rw-r--r-- | comment.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ func (f *File) AddComment(sheet, cell, format string) { commentsXML := "xl/comments" + strconv.Itoa(commentID) + ".xml" f.addComment(commentsXML, cell, formatSet) f.addDrawingVML(commentID, drawingVML, cell) - f.addCommentsContentTypePart(commentID) + f.addContentTypePart(commentID, "comments") } // addDrawingVML provides function to create comment as |