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
bfdafccc
Commit
bfdafccc
authored
Aug 11, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DocFormat - fix bug (read unknown record)
parent
00596f43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ASCOfficeDocFile/DocDocxConverter/OfficeDrawing/RecordFactory.cpp
...eDocFile/DocDocxConverter/OfficeDrawing/RecordFactory.cpp
+2
-1
ASCOfficeDocFile/DocDocxConverter/OfficeDrawing/UnknownRecord.h
...iceDocFile/DocDocxConverter/OfficeDrawing/UnknownRecord.h
+1
-1
No files found.
ASCOfficeDocFile/DocDocxConverter/OfficeDrawing/RecordFactory.cpp
View file @
bfdafccc
...
...
@@ -74,7 +74,8 @@ namespace DocFileFormat
if
(
pRecord
)
{
result
=
pRecord
->
NewObject
(
reader
,
size
,
typeCode
,
version
,
instance
);
result
->
SiblingIdx
=
siblingIdx
;
if
(
result
)
result
->
SiblingIdx
=
siblingIdx
;
RELEASEOBJECT
(
pRecord
);
}
}
...
...
ASCOfficeDocFile/DocDocxConverter/OfficeDrawing/UnknownRecord.h
View file @
bfdafccc
...
...
@@ -66,7 +66,7 @@ namespace DocFileFormat
virtual
Record
*
NewObject
(
IBinaryReader
*
_reader
,
unsigned
int
bodySize
,
unsigned
int
typeCode
,
unsigned
int
version
,
unsigned
int
instance
)
{
return
new
UnknownRecord
(
_reader
,
bodySize
,
typeCode
,
version
,
instance
);
return
NULL
;
//
new UnknownRecord( _reader, bodySize, typeCode, version, instance );
}
};
}
\ No newline at end of file
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