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
afcf6b07
Commit
afcf6b07
authored
Jul 01, 2017
by
ElenaSubbotina
Committed by
Alexey.Golubev
Jul 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3ed2224f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
ASCOfficePPTFile/PPTFormatLib/Reader/PPTDocumentInfo.h
ASCOfficePPTFile/PPTFormatLib/Reader/PPTDocumentInfo.h
+1
-3
ASCOfficePPTFile/PPTFormatLib/Reader/PPTFileReader.cpp
ASCOfficePPTFile/PPTFormatLib/Reader/PPTFileReader.cpp
+1
-1
No files found.
ASCOfficePPTFile/PPTFormatLib/Reader/PPTDocumentInfo.h
View file @
afcf6b07
...
...
@@ -92,16 +92,14 @@ public:
bool
bResult
=
pInfo
->
ReadFromStream
(
&
oUserAtom
,
pStream
);
offsetToEdit
=
pInfo
->
m_oUser
.
m_nOffsetLastEdit
;
m_oCurrentUser
.
m_bIsEncrypt
=
pInfo
->
m_bEncrypt
;
if
(
bResult
==
false
)
{
delete
pInfo
;
if
(
pInfo
->
m_bEncrypt
)
{
m_oCurrentUser
.
m_bIsEncrypt
=
pInfo
->
m_bEncrypt
;
return
false
;
}
else
continue
;
}
...
...
ASCOfficePPTFile/PPTFormatLib/Reader/PPTFileReader.cpp
View file @
afcf6b07
...
...
@@ -116,7 +116,7 @@ bool CPPTFileReader::ReadPersists()
CFStreamPtr
pStream
=
GetDocumentStream
();
if
(
!
pStream
)
return
false
;
if
(
m_oDocumentInfo
.
ReadFromStream
(
&
m_oCurrentUser
,
pStream
->
stream_
)
==
false
)
return
false
;
return
m_oDocumentInfo
.
ReadFromStream
(
&
m_oCurrentUser
,
pStream
->
stream_
)
;
}
void
CPPTFileReader
::
ReadDocument
()
{
...
...
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