Commit debc0e96 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@62625 954022d7-b5bf-4e40-9824-e11837661b57
parent 864b8cf9
......@@ -4731,7 +4731,7 @@ DrawingObjectsController.prototype =
if (oTargetTextObject) {
var oBodyPr = oTargetTextObject.getBodyPr && oTargetTextObject.getBodyPr();
if(oBodyPr && oBodyPr.prstTxWarp)
if((oBodyPr && oBodyPr.prstTxWarp && oBodyPr.prstTxWarp.preset !== "textNoShape") || oTargetTextObject.checkContentWordArt && oTargetTextObject.checkContentWordArt(oTargetTextObject.getDocContent()))
{
if (oTargetTextObject.recalcInfo.bRecalculatedTitle)
{
......
......@@ -4206,6 +4206,8 @@ CShape.prototype =
checkContentWordArt: function(oContent)
{
if(!oContent)
return false;
var i, j, k, oElement, aRows, oRow;
for(i = 0; i < oContent.Content.length; ++i)
{
......
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