Commit 1ee841c9 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@60012 954022d7-b5bf-4e40-9824-e11837661b57
parent 81ab7e8b
...@@ -975,18 +975,16 @@ CGraphicFrame.prototype = ...@@ -975,18 +975,16 @@ CGraphicFrame.prototype =
{ {
return this.parent.num; return this.parent.num;
}, },
Get_PageContentStartPos: function() Get_PageContentStartPos: function(PageNum)
{ {
if(this.parent.kind == SLIDE_KIND) var presentation = editor.WordControl.m_oLogicDocument;
{
return this.parent.Layout.Master.presentation.Get_PageContentStartPos( this.parent.num );
}
return { return {
X : this.pH+this.ext.cx, X : 0,
XLimit: this.ext.cx, XLimit: presentation.Width,
Y : this.pV+this.ext.cy, Y : 0,
YLimit : this.ext.cy, YLimit : presentation.Height,
MaxTopBorder : 0}; MaxTopBorder : 0
};
}, },
......
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