Commit 1564d215 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #33579

parent 327e2c4f
...@@ -3188,6 +3188,9 @@ ParaMath.prototype.Handle_AddNewLine = function() ...@@ -3188,6 +3188,9 @@ ParaMath.prototype.Handle_AddNewLine = function()
*/ */
ParaMath.prototype.Split = function (ContentPos, Depth) ParaMath.prototype.Split = function (ContentPos, Depth)
{ {
if (this.Cursor_Is_End())
return new ParaRun(this.Paragraph, false);
var NewParaMath = new ParaMath(); var NewParaMath = new ParaMath();
NewParaMath.Jc = this.Jc; NewParaMath.Jc = this.Jc;
......
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