Commit f9d48af1 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33531

parent 767c6d89
...@@ -279,7 +279,8 @@ ...@@ -279,7 +279,8 @@
var sBase64; var sBase64;
var selectedContent = new CSelectedContent(); var selectedContent = new CSelectedContent();
isIntoShape.Get_SelectedContent(selectedContent); AscFormat.ExecuteNoHistory(function(){isIntoShape.Get_SelectedContent(selectedContent);}, this, []);
var oPresentationWriter = new AscCommon.CBinaryFileWriter(); var oPresentationWriter = new AscCommon.CBinaryFileWriter();
......
...@@ -312,7 +312,7 @@ function ConvertParagraphToPPTX(paragraph, drawingDocument, newParent, bIsAddMat ...@@ -312,7 +312,7 @@ function ConvertParagraphToPPTX(paragraph, drawingDocument, newParent, bIsAddMat
} }
else if(true === bIsAddMath && Item.Type === para_Math) else if(true === bIsAddMath && Item.Type === para_Math)
{ {
new_paragraph.Internal_Content_Add(new_paragraph.Content.length, Item, false); new_paragraph.Internal_Content_Add(new_paragraph.Content.length, Item.Copy(), false);
} }
} }
var EndRun = new ParaRun(new_paragraph); var EndRun = new ParaRun(new_paragraph);
......
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