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