Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
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
onlyoffice_core
Commits
48bf4091
Commit
48bf4091
authored
Nov 17, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix...
parent
fd53a987
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ASCOfficeDocFile/DocDocxConverter/NumberingMapping.cpp
ASCOfficeDocFile/DocDocxConverter/NumberingMapping.cpp
+1
-1
No files found.
ASCOfficeDocFile/DocDocxConverter/NumberingMapping.cpp
View file @
48bf4091
...
...
@@ -582,7 +582,7 @@ namespace DocFileFormat
// The style id is used for a reverse reference.
// It can happen that the reference points to the wrong style.
if
(
styleIndex
!=
ListData
::
ISTD_NIL
)
if
(
styleIndex
!=
ListData
::
ISTD_NIL
&&
styleIndex
<
m_document
->
Styles
->
Styles
->
size
()
)
{
m_pXmlWriter
->
WriteNodeBegin
(
L"w:pStyle"
,
TRUE
);
m_pXmlWriter
->
WriteAttribute
(
L"w:val"
,
FormatUtils
::
XmlEncode
(
StyleSheetMapping
::
MakeStyleId
(
m_document
->
Styles
->
Styles
->
at
(
styleIndex
))));
...
...
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