Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
6cc49fd9
Commit
6cc49fd9
authored
Apr 04, 2016
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #32109 Устранено падение при работе с нумерацией.
parent
1fa15bbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
word/Editor/Paragraph.js
word/Editor/Paragraph.js
+15
-11
No files found.
word/Editor/Paragraph.js
View file @
6cc49fd9
...
...
@@ -7376,7 +7376,10 @@ Paragraph.prototype =
{
if
(
undefined
!=
OldNumPr
&&
undefined
!=
OldNumPr
.
NumId
)
{
var
Lvl
=
this
.
Parent
.
Get_Numbering
().
Get_AbstractNum
(
OldNumPr
.
NumId
).
Lvl
[
OldNumPr
.
Lvl
];
var
Num
=
this
.
Parent
.
Get_Numbering
().
Get_AbstractNum
(
OldNumPr
.
NumId
);
if
(
Num
)
{
var
Lvl
=
Num
.
Lvl
[
OldNumPr
.
Lvl
];
if
(
undefined
!=
Lvl
&&
undefined
!=
Lvl
.
ParaPr
.
Ind
&&
undefined
!=
Lvl
.
ParaPr
.
Ind
.
Left
)
{
var
CurParaPr
=
this
.
Get_CompiledPr2
(
false
).
ParaPr
;
...
...
@@ -7393,6 +7396,7 @@ Paragraph.prototype =
}
}
}
}
else
if
(
this
.
Pr
.
Ind
.
FirstLine
<
0
)
{
History
.
Add
(
this
,
{
Type
:
historyitem_Paragraph_Ind_First
,
New
:
0
,
Old
:
this
.
Pr
.
Ind
.
FirstLine
}
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment