summaryrefslogtreecommitdiff
path: root/shape.go
diff options
context:
space:
mode:
Diffstat (limited to 'shape.go')
-rw-r--r--shape.go3
1 files changed, 1 insertions, 2 deletions
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{}