From 7c3f91ada483194018fca95c6caae03b22247d52 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Thu, 25 May 2017 11:15:38 +0800 Subject: Fix non-visual canvas properties ID calculator. --- picture.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'picture.go') diff --git a/picture.go b/picture.go index e34638c..db731e4 100644 --- a/picture.go +++ b/picture.go @@ -181,8 +181,7 @@ func (f *File) addDrawingPicture(sheet, drawingXML, cell, file string, width, he content := xlsxWsDr{} content.A = NameSpaceDrawingML content.Xdr = NameSpaceDrawingMLSpreadSheet - cNvPrID := 1 - f.drawingParser(drawingXML, cNvPrID, &content) + cNvPrID := f.drawingParser(drawingXML, &content) twoCellAnchor := xdrCellAnchor{} twoCellAnchor.EditAs = "oneCell" from := xlsxFrom{} -- cgit v1.2.1