Commit a98fc8de authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 32970

parent abfdb1b4
......@@ -2747,7 +2747,9 @@ PasteProcessor.prototype =
case "Content":
{
var docContent = this.ReadPresentationText(stream);
if(docContent.length === 0){
return;
}
var presentationSelectedContent = new PresentationSelectedContent();
presentationSelectedContent.DocContent = new CSelectedContent();
presentationSelectedContent.DocContent.Elements = docContent;
......
......@@ -3972,6 +3972,7 @@ CPresentation.prototype =
}
else if(Content.DocContent)
{
if(Content.DocContent.Elements.length > 0){
var target_doc_content = this.Slides[this.CurPage].graphicObjects.getTargetDocContent(true), paragraph, NearPos;
if(target_doc_content)
{
......@@ -3997,6 +3998,7 @@ CPresentation.prototype =
}
}
}
}
},
Check_CursorMoveRight : function()
......
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