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
d8988cd1
Commit
d8988cd1
authored
Jul 01, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
440a884c
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 @
d8988cd1
...
@@ -92,16 +92,14 @@ public:
...
@@ -92,16 +92,14 @@ public:
bool
bResult
=
pInfo
->
ReadFromStream
(
&
oUserAtom
,
pStream
);
bool
bResult
=
pInfo
->
ReadFromStream
(
&
oUserAtom
,
pStream
);
offsetToEdit
=
pInfo
->
m_oUser
.
m_nOffsetLastEdit
;
offsetToEdit
=
pInfo
->
m_oUser
.
m_nOffsetLastEdit
;
m_oCurrentUser
.
m_bIsEncrypt
=
pInfo
->
m_bEncrypt
;
if
(
bResult
==
false
)
if
(
bResult
==
false
)
{
{
delete
pInfo
;
delete
pInfo
;
if
(
pInfo
->
m_bEncrypt
)
if
(
pInfo
->
m_bEncrypt
)
{
m_oCurrentUser
.
m_bIsEncrypt
=
pInfo
->
m_bEncrypt
;
return
false
;
return
false
;
}
else
else
continue
;
continue
;
}
}
...
...
ASCOfficePPTFile/PPTFormatLib/Reader/PPTFileReader.cpp
View file @
d8988cd1
...
@@ -116,7 +116,7 @@ bool CPPTFileReader::ReadPersists()
...
@@ -116,7 +116,7 @@ bool CPPTFileReader::ReadPersists()
CFStreamPtr
pStream
=
GetDocumentStream
();
CFStreamPtr
pStream
=
GetDocumentStream
();
if
(
!
pStream
)
return
false
;
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
()
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