Commit fb6c03de 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@60239 954022d7-b5bf-4e40-9824-e11837661b57
parent 467a32ae
......@@ -28,6 +28,17 @@ function CGraphicFrame()
recalculateShapeHierarchy: true,
recalculateTable: true
};
this.bounds =
{
l: 0,
t: 0,
r: 0,
b: 0,
x: 0,
y: 0,
w: 0,
h: 0
};
this.RecalcInfo = {};
this.bDeleted = true;
}
......@@ -359,6 +370,14 @@ CGraphicFrame.prototype =
this.transformText = this.transform;
this.invertTransformText = this.invertTransform;
this.cachedImage = null;
this.bounds.l = this.x;
this.bounds.t = this.y;
this.bounds.r = this.x + this.extX;
this.bounds.b = this.y + this.extY;
this.bounds.x = this.x;
this.bounds.y = this.y;
this.bounds.w = this.extX;
this.bounds.h = this.extY;
}
}, this, []);
......
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