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. --- shape.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shape.go') diff --git a/shape.go b/shape.go index a078dae..2923763 100644 --- a/shape.go +++ b/shape.go @@ -297,8 +297,7 @@ func (f *File) addDrawingShape(sheet, drawingXML, cell string, formatSet *format 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