Commit 4a60da87 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=25798 - [CoEdit] Падение при получении группы автофигур из CSE

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57543 954022d7-b5bf-4e40-9824-e11837661b57
parent 64442020
......@@ -3798,13 +3798,14 @@ PasteProcessor.prototype =
graphicObj = drawing.graphicObject.convertToWord(this.oLogicDocument);
tempParaRun = new ParaRun();
tempParaRun.Content.unshift(new ParaDrawing());
tempParaRun.Paragraph = null;
tempParaRun.Add_ToContent( 0, new ParaDrawing(), false );//tempParaRun.Content.unshift(new ParaDrawing());
//paraRun.Content[index].wrappingType = wrappingType;
//paraRun.Content[index].DrawingType = DrawingType;
tempParaRun.Content[0].GraphicObj = graphicObj;
tempParaRun.Content[0].GraphicObj.parent = tempParaRun.Content[0];
tempParaRun.Content[0].Set_GraphicObject(graphicObj);
tempParaRun.Content[0].GraphicObj.setParent(tempParaRun.Content[0]);
tempParagraph.Content.splice(tempParagraph.Content.length - 1, 0, tempParaRun);
......
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