Commit f7c6eee3 authored by GoshaZotov's avatar GoshaZotov

fix bug 33077

parent 414cc245
......@@ -3279,10 +3279,14 @@ PasteProcessor.prototype =
{
shape = arrShapes[i];
if(shape.txBody.content.Content.length > 1 && (shape.txBody.content.Content[0].Content && shape.txBody.content.Content[0].Content.length === 1))
var txBobyContent = shape.txBody.content.Content;
if(txBobyContent.length > 1 && txBobyContent[0].Content)
{
if(txBobyContent[0].Content.length === 1 || (txBobyContent[0].Content.length === 2 && txBobyContent[0].Content[0].Content && txBobyContent[0].Content[0].Content.length === 0))
{
shape.txBody.content.Internal_Content_Remove(0, 1);
}
}
var w = shape.txBody.getRectWidth(presentation.Width*2/3);
var h = shape.txBody.content.Get_SummaryHeight();
......
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