Commit 68053a87 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix crash

parent 63eef3d0
...@@ -2207,7 +2207,7 @@ Paragraph.prototype.Internal_Draw_5 = function(CurPage, pGraphics, Pr, BgColor) ...@@ -2207,7 +2207,7 @@ Paragraph.prototype.Internal_Draw_5 = function(CurPage, pGraphics, Pr, BgColor)
} }
} }
// Рисуем подчеркивание орфографии // Рисуем подчеркивание орфографии
if (this.LogicDocument && true === this.LogicDocument.Spelling.Use && !(pGraphics.IsThumbnail === true || pGraphics.IsDemonstrationMode === true)) if (editor && this.LogicDocument && true === this.LogicDocument.Spelling.Use && !(pGraphics.IsThumbnail === true || pGraphics.IsDemonstrationMode === true))
{ {
pGraphics.p_color(255, 0, 0, 255); pGraphics.p_color(255, 0, 0, 255);
var SpellingW = editor.WordControl.m_oDrawingDocument.GetMMPerDot(1); var SpellingW = editor.WordControl.m_oDrawingDocument.GetMMPerDot(1);
......
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