Commit 43989d29 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51204 954022d7-b5bf-4e40-9824-e11837661b57
parent c53f5b9f
...@@ -57,7 +57,7 @@ CGraphicFrame.prototype = ...@@ -57,7 +57,7 @@ CGraphicFrame.prototype =
copy: function(sp) copy: function(sp)
{ {
if(!sp) if(!(sp instanceof CGraphicFrame))
sp = new CGraphicFrame(); sp = new CGraphicFrame();
sp.setSpPr(this.spPr.createDuplicate()); sp.setSpPr(this.spPr.createDuplicate());
if(this.nvGraphicFramePr) if(this.nvGraphicFramePr)
......
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