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

Bug 27954 - Некорректно рисуется текст-превью в плейсхолдерах слайда после смены темы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60177 954022d7-b5bf-4e40-9824-e11837661b57
parent 2d47a185
......@@ -570,10 +570,17 @@ CShape.prototype.recalculateContent2 = function()
{
if(this.isPlaceholder())
{
if(!this.isEmptyPlaceholder())
{
return;
}
var text = typeof pHText[0][this.nvSpPr.nvPr.ph.type] === "string" && pHText[0][this.nvSpPr.nvPr.ph.type].length > 0 ? pHText[0][this.nvSpPr.nvPr.ph.type] : pHText[0][phType_body];
if (!this.txBody.content2)
this.txBody.content2 = CreateDocContentFromString(text, this.getDrawingDocument(), this.txBody);
else
{
this.txBody.content2.Recalc_AllParagraphs_CompiledPr();
}
var content = this.txBody.content2;
if(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