Commit 2262e238 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35190

parent d4138c1f
...@@ -2285,7 +2285,7 @@ background-repeat: no-repeat;\ ...@@ -2285,7 +2285,7 @@ background-repeat: no-repeat;\
}; };
asc_docs_api.prototype.put_TextPrLang = function(value) asc_docs_api.prototype.put_TextPrLang = function(value)
{ {
if (false === this.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Paragraph_Content)) if (false === this.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(AscCommon.changestype_Paragraph_Content))
{ {
this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(AscDFH.historydescription_Document_SetTextLang); this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(AscDFH.historydescription_Document_SetTextLang);
this.WordControl.m_oLogicDocument.AddToParagraph(new AscCommonWord.ParaTextPr({Lang : {Val : value}})); this.WordControl.m_oLogicDocument.AddToParagraph(new AscCommonWord.ParaTextPr({Lang : {Val : value}}));
......
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