summaryrefslogtreecommitdiff
path: root/shape.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-05-25 11:15:38 +0800
committerRi Xu <xuri.me@gmail.com>2017-05-25 11:15:38 +0800
commit7c3f91ada483194018fca95c6caae03b22247d52 (patch)
treeed0bb11ff00d25b5c984863c06890a5c96d78e41 /shape.go
parentfbc3d1cd01ed24f8a8f56bed947af14ed346f60a (diff)
Fix non-visual canvas properties ID calculator.
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{}