Commit 3c628463 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 25449 - [CoEdit] Невозможно открыть файл с диаграммой с измененным типом после экспорт в docx

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57514 954022d7-b5bf-4e40-9824-e11837661b57
parent 6a01aae9
......@@ -2214,7 +2214,6 @@ CPlotArea.prototype =
case historyitem_PlotArea_RemoveAxis:
{
writeLong(w, data.pos);
writeObject(w, data.newPr);
break;
}
}
......@@ -2283,15 +2282,13 @@ CPlotArea.prototype =
case historyitem_PlotArea_RemoveChart:
{
var pos = readLong(r);
var chart = readObject(r);
this.charts.splice(pos, 0, chart);
this.charts.splice(pos, 1);
break;
}
case historyitem_PlotArea_RemoveAxis:
{
var pos = readLong(r);
var axis = readObject(r);
this.axId.splice(pos, 0, axis);
this.axId.splice(pos, 1);
break;
}
}
......
......@@ -12932,6 +12932,11 @@ function CreateScatterChart(chartSeries)
page_margins.setT(0.75);
page_margins.setHeader(0.3);
page_margins.setFooter(0.3);
return chart_space;
}
......
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