Commit 7b8f4cd6 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

падение при вставке в презентации

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61602 954022d7-b5bf-4e40-9824-e11837661b57
parent 38120ab5
...@@ -4118,6 +4118,14 @@ PasteProcessor.prototype = ...@@ -4118,6 +4118,14 @@ PasteProcessor.prototype =
{ {
if(!(presentationSelectedContent.Drawings[i].Drawing instanceof CGraphicFrame)) if(!(presentationSelectedContent.Drawings[i].Drawing instanceof CGraphicFrame))
{ {
if(presentationSelectedContent.Drawings[i].Drawing.setBDeleted2)
{
presentationSelectedContent.Drawings[i].Drawing.setBDeleted2(true);
}
else
{
presentationSelectedContent.Drawings[i].Drawing.setBDeleted(true);
}
presentationSelectedContent.Drawings[i].Drawing = presentationSelectedContent.Drawings[i].Drawing.convertToPPTX(oThis.oDocument.DrawingDocument); presentationSelectedContent.Drawings[i].Drawing = presentationSelectedContent.Drawings[i].Drawing.convertToPPTX(oThis.oDocument.DrawingDocument);
checkBlipFillRasterImages(presentationSelectedContent.Drawings[i].Drawing); checkBlipFillRasterImages(presentationSelectedContent.Drawings[i].Drawing);
} }
......
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