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
c64b624d
Commit
c64b624d
authored
May 27, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f2f6483b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
DesktopEditor/raster/Metafile/Emf/EmfFile.cpp
DesktopEditor/raster/Metafile/Emf/EmfFile.cpp
+7
-1
No files found.
DesktopEditor/raster/Metafile/Emf/EmfFile.cpp
View file @
c64b624d
...
...
@@ -63,7 +63,13 @@ namespace MetaFile
m_ulRecordSize
=
ulSize
-
8
;
if
(
ulType
<
EMR_MIN
||
ulType
>
EMR_MAX
)
return
SetError
();
{
if
(
ENHMETA_SIGNATURE
!=
m_oHeader
.
ulSignature
||
0x00010000
!=
m_oHeader
.
ulVersion
)
return
SetError
();
else
break
;
}
if
(
0
==
ulRecordIndex
&&
EMR_HEADER
!=
ulType
)
return
SetError
();
...
...
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