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
4be5a491
Commit
4be5a491
authored
Jan 23, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4b4d4ebc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
DesktopEditor/common/File.h
DesktopEditor/common/File.h
+6
-1
No files found.
DesktopEditor/common/File.h
View file @
4be5a491
...
@@ -676,9 +676,14 @@ namespace NSFile
...
@@ -676,9 +676,14 @@ namespace NSFile
}
}
bool
CreateTempFile
()
bool
CreateTempFile
()
{
{
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(_WIN64)
if
(
0
!=
tmpfile_s
(
&
m_pFile
))
if
(
0
!=
tmpfile_s
(
&
m_pFile
))
return
false
;
return
false
;
#else
m_pFile
=
tmpfile
();
if
(
NULL
==
m_pFile
)
return
false
;
#endif
m_lFilePosition
=
0
;
m_lFilePosition
=
0
;
return
true
;
return
true
;
}
}
...
...
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