Commit 8ecf2a8b authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 29011 - JS ошибка после вырезания группы фигур, если они содержат диаграмму

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61754 954022d7-b5bf-4e40-9824-e11837661b57
parent 710e93fe
......@@ -110,6 +110,7 @@ function CPPTXContentLoader()
{
this.Reader.presentation = presentation;
}
var oLogicDocument = this.LogicDocument;
this.LogicDocument = null;
this.Reader.ImageMapChecker = this.ImageMapChecker;
......@@ -140,6 +141,7 @@ function CPPTXContentLoader()
s.Seek2(_end_rec);
stream.pos = s.pos;
stream.cur = s.cur;
this.LogicDocument = oLogicDocument;
return GrObject;
}
......@@ -151,6 +153,7 @@ function CPPTXContentLoader()
if(!this.Reader.presentation && presentation)
this.Reader.presentation = presentation;
var oLogicDocument = this.LogicDocument;
this.LogicDocument = null;
this.Reader.ImageMapChecker = this.ImageMapChecker;
......@@ -175,7 +178,7 @@ function CPPTXContentLoader()
stream.pos = s.pos;
stream.cur = s.cur;
this.LogicDocument = oLogicDocument;
return txBody;
}
......@@ -185,6 +188,7 @@ function CPPTXContentLoader()
if (this.Reader == null)
this.Reader = new BinaryPPTYLoader();
var oLogicDocument = this.LogicDocument;
this.LogicDocument = null;
this.Reader.ImageMapChecker = this.ImageMapChecker;
......@@ -209,7 +213,7 @@ function CPPTXContentLoader()
stream.pos = s.pos;
stream.cur = s.cur;
this.LogicDocument = oLogicDocument;
return txBody;
}
......@@ -218,6 +222,7 @@ function CPPTXContentLoader()
if (this.Reader == null)
this.Reader = new BinaryPPTYLoader();
var oLogicDocument = this.LogicDocument;
this.LogicDocument = null;
this.Reader.ImageMapChecker = this.ImageMapChecker;
......@@ -245,6 +250,7 @@ function CPPTXContentLoader()
stream.pos = s.pos;
stream.cur = s.cur;
this.LogicDocument = oLogicDocument;
return oNewSpPr;
}
......
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