Commit c5f7995e authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix build

parent d70cec68
......@@ -11689,6 +11689,10 @@ CDocument.prototype.Get_Styles = function()
{
return this.Styles;
};
CDocument.prototype.CopyStyle = function()
{
return this.Styles.CopyStyle();
};
CDocument.prototype.Get_TableStyleForPara = function()
{
return null;
......
......@@ -628,7 +628,7 @@ asc_docs_api.prototype.OpenDocument2 = function(url, gObject)
{
this.InitEditor();
this.DocumentType = 2;
this.LoadedObjectDS = this.WordControl.m_oLogicDocument.Get_Styles().CopyStyle();
this.LoadedObjectDS = this.WordControl.m_oLogicDocument.CopyStyle();
g_oIdCounter.Set_Load(true);
......@@ -7081,7 +7081,7 @@ window["asc_docs_api"].prototype["asc_nativeOpenFile"] = function(base64File, ve
this.InitEditor();
this.DocumentType = 2;
this.LoadedObjectDS = this.WordControl.m_oLogicDocument.Get_Styles().CopyStyle();
this.LoadedObjectDS = this.WordControl.m_oLogicDocument.CopyStyle();
g_oIdCounter.Set_Load(true);
......
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