Commit a8929065 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix bug opening empty groups

parent 05e25147
......@@ -9208,7 +9208,7 @@ function CPres()
case 4:
{
sp = this.ReadGroupShape();
if(sp.spPr && sp.spPr.xfrm && sp.spTree.length > 0) {
if(sp && sp.spPr && sp.spPr.xfrm && sp.spTree.length > 0) {
sp.setGroup(shape);
shape.addToSpTree(shape.spTree.length, sp);
}
......
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