Commit 7bf799e1 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix bug 35309

parent a1771911
...@@ -777,6 +777,9 @@ CShape.prototype.convertToWord = function (document) { ...@@ -777,6 +777,9 @@ CShape.prototype.convertToWord = function (document) {
} }
if (this.spPr) { if (this.spPr) {
c.setSpPr(this.spPr.createDuplicate()); c.setSpPr(this.spPr.createDuplicate());
if(!c.spPr.geometry){
c.spPr.setGeometry(AscFormat.CreateGeometry("rect"));
}
c.spPr.setParent(c); c.spPr.setParent(c);
} }
if (this.style) { if (this.style) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment