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
dddaeb3e
Commit
dddaeb3e
authored
Dec 26, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
previous commit bug
parent
f75b0704
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
PdfWriter/Src/Streams.cpp
PdfWriter/Src/Streams.cpp
+5
-3
No files found.
PdfWriter/Src/Streams.cpp
View file @
dddaeb3e
...
...
@@ -856,9 +856,11 @@ namespace PdfWriter
}
void
CImageFileStream
::
Read
(
BYTE
*
pBuffer
,
unsigned
int
*
punSize
)
{
*
punSize
=
0
;
if
(
!
OpenFile
())
return
;
if
(
!
OpenFile
())
{
*
punSize
=
0
;
return
;
}
DWORD
dwBytesToRead
=
*
punSize
;
DWORD
dwSizeRead
=
0
;
m_oFile
.
ReadFile
(
pBuffer
,
dwBytesToRead
,
dwSizeRead
);
...
...
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