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
59cc012d
Commit
59cc012d
authored
Aug 12, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 32950
parent
bfdafccc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
DesktopEditor/doctrenderer/docbuilder_p.h
DesktopEditor/doctrenderer/docbuilder_p.h
+2
-6
No files found.
DesktopEditor/doctrenderer/docbuilder_p.h
View file @
59cc012d
...
@@ -921,14 +921,10 @@ namespace NSDoctRenderer
...
@@ -921,14 +921,10 @@ namespace NSDoctRenderer
NSStringUtils
::
CStringBuilder
oBuilder
;
NSStringUtils
::
CStringBuilder
oBuilder
;
std
::
wstring
_path
=
path
;
std
::
wstring
_path
=
path
;
std
::
wstring
sDstFileDir
=
NSCommon
::
GetDirectoryName
(
_path
);
std
::
wstring
sDstFileDir
=
NSCommon
::
GetDirectoryName
(
_path
);
if
(
sDstFileDir
.
find
(
L"./"
)
==
0
)
if
((
sDstFileDir
!=
_path
)
&&
!
NSDirectory
::
Exists
(
sDstFileDir
))
sDstFileDir
=
NSFile
::
GetProcessDirectory
()
+
L"/"
+
sDstFileDir
.
substr
(
2
);
if
(
!
NSDirectory
::
Exists
(
sDstFileDir
))
NSDirectory
::
CreateDirectories
(
sDstFileDir
);
NSDirectory
::
CreateDirectories
(
sDstFileDir
);
_path
=
sDstFileDir
+
L"/"
+
NSCommon
::
GetFileName
(
path
);
oBuilder
.
WriteString
(
L"<?xml version=
\"
1.0
\"
encoding=
\"
utf-8
\"
?><TaskQueueDataConvert><m_sFileFrom>"
);
oBuilder
.
WriteString
(
L"<?xml version=
\"
1.0
\"
encoding=
\"
utf-8
\"
?><TaskQueueDataConvert><m_sFileFrom>"
);
oBuilder
.
WriteEncodeXmlString
(
m_sFileDir
);
oBuilder
.
WriteEncodeXmlString
(
m_sFileDir
);
oBuilder
.
WriteString
(
sFileBin
+
L"</m_sFileFrom><m_sFileTo>"
);
oBuilder
.
WriteString
(
sFileBin
+
L"</m_sFileFrom><m_sFileTo>"
);
...
...
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