Commit 101a78d8 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 26567 - Ошибка в консоли при копировании диаграммы в группе

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58379 954022d7-b5bf-4e40-9824-e11837661b57
parent 3355d703
......@@ -10719,6 +10719,20 @@ CPivotSource.prototype =
}
},
createDuplicate: function()
{
var copy = new CPivotSource();
if(isRealNumber(this.fmtId))
{
copy.setFmtId(this.fmtId);
}
if(typeof this.name === "string")
{
copy.setName(this.name);
}
return copy;
},
Save_Changes: function(data, w)
{
w.WriteLong(data.Type);
......@@ -10821,6 +10835,17 @@ CProtection.prototype =
this.userInterface = pr;
},
createDuplicate: function()
{
var c = new CProtection();
c.setChartObject (this.chartObject );
c.setData (this.data);
c.setFormatting (this.formatting);
c.setSelection (this.selection);
c.setUserInterface(this.userInterface);
return c;
},
Undo: function(data)
{
......
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