Commit e17de397 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@56787 954022d7-b5bf-4e40-9824-e11837661b57
parent 9c8e9704
...@@ -32,7 +32,10 @@ CChartSpace.prototype.getInvertTransform = CShape.prototype.getInvertTransform; ...@@ -32,7 +32,10 @@ CChartSpace.prototype.getInvertTransform = CShape.prototype.getInvertTransform;
CChartSpace.prototype.hit = CShape.prototype.hit; CChartSpace.prototype.hit = CShape.prototype.hit;
CChartSpace.prototype.hitInInnerArea = CShape.prototype.hitInInnerArea; CChartSpace.prototype.hitInInnerArea = CShape.prototype.hitInInnerArea;
CChartSpace.prototype.hitInPath = CShape.prototype.hitInPath; CChartSpace.prototype.hitInPath = CShape.prototype.hitInPath;
CChartSpace.prototype.hitInTextRect = CShape.prototype.hitInTextRect; CChartSpace.prototype.hitInTextRect = function()
{
return false;
};
CChartSpace.prototype.getNumByCardDirection = CShape.prototype.getNumByCardDirection; CChartSpace.prototype.getNumByCardDirection = CShape.prototype.getNumByCardDirection;
CChartSpace.prototype.getCardDirectionByNum = CShape.prototype.getCardDirectionByNum; CChartSpace.prototype.getCardDirectionByNum = CShape.prototype.getCardDirectionByNum;
CChartSpace.prototype.getResizeCoefficients = CShape.prototype.getResizeCoefficients; CChartSpace.prototype.getResizeCoefficients = CShape.prototype.getResizeCoefficients;
......
...@@ -922,7 +922,7 @@ CGraphicObjects.prototype = ...@@ -922,7 +922,7 @@ CGraphicObjects.prototype =
arr = page.wrappingObjects.concat(page.behindDocObjects.concat(page.beforeTextObjects)); arr = page.wrappingObjects.concat(page.behindDocObjects.concat(page.beforeTextObjects));
for(i = 0; i < arr.length; ++i) for(i = 0; i < arr.length; ++i)
{ {
if(arr[i].parent.DocumentContent === docContent) if(arr[i].parent && arr[i].parent.DocumentContent === docContent)
{ {
ret.push(arr[i].parent); ret.push(arr[i].parent);
} }
......
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