Commit a5239284 authored by GoshaZotov's avatar GoshaZotov

fix bug 35710

parent 511b9bee
......@@ -2402,11 +2402,11 @@ PasteProcessor.prototype =
if(pasteIntoParagraphPr)
{
paragraph.Set_Pr(pasteIntoParagraphPr);
paragraph.Set_Pr(pasteIntoParagraphPr.Copy());
if(paragraph.TextPr && pasteIntoParaRunPr)
{
paragraph.TextPr.Value = pasteIntoParaRunPr;
paragraph.TextPr.Value = pasteIntoParaRunPr.Copy();
}
}
this._specialPasteParagraphContentConvert(paragraph.Content, pasteIntoParaRunPr);
......@@ -2481,7 +2481,7 @@ PasteProcessor.prototype =
//проверить, есть ли внутри изображение
if(pasteIntoParaRunPr && elem.Set_Pr)
{
elem.Set_Pr( pasteIntoParaRunPr );
elem.Set_Pr( pasteIntoParaRunPr.Copy() );
}
checkInsideDrawings(elem.Content);
......
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