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
8c2e1738
Commit
8c2e1738
authored
Feb 07, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug #33752 after refactoring
parent
bf33aed8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Common/DocxFormat/Source/SystemUtility/SystemUtility.cpp
Common/DocxFormat/Source/SystemUtility/SystemUtility.cpp
+2
-4
DesktopEditor/xml/src/xmllight_private.h
DesktopEditor/xml/src/xmllight_private.h
+2
-1
No files found.
Common/DocxFormat/Source/SystemUtility/SystemUtility.cpp
View file @
8c2e1738
...
@@ -173,9 +173,8 @@ namespace OOX
...
@@ -173,9 +173,8 @@ namespace OOX
bool
CPath
::
FileInDirectoryCorrect
()
bool
CPath
::
FileInDirectoryCorrect
()
{
{
std
::
wstring
fileDirectory
=
GetDirectory
(
false
);
std
::
wstring
fileDirectory
=
GetDirectory
(
false
);
std
::
wstring
lowerFileName
=
m_strFilename
;
XmlUtils
::
GetLower
(
lowerFileN
ame
);
std
::
wstring
lowerFileName
=
XmlUtils
::
GetLower
(
m_strFilen
ame
);
CArray
<
std
::
wstring
>
trueArray
;
CArray
<
std
::
wstring
>
trueArray
;
...
@@ -183,8 +182,7 @@ namespace OOX
...
@@ -183,8 +182,7 @@ namespace OOX
for
(
int
i
=
0
;
i
<
trueArray
.
GetCount
();
i
++
)
for
(
int
i
=
0
;
i
<
trueArray
.
GetCount
();
i
++
)
{
{
std
::
wstring
lowerTest
=
trueArray
[
i
];
std
::
wstring
lowerTest
=
XmlUtils
::
GetLower
(
trueArray
[
i
]);
XmlUtils
::
GetLower
(
lowerTest
);
if
(
lowerTest
==
lowerFileName
)
if
(
lowerTest
==
lowerFileName
)
{
{
...
...
DesktopEditor/xml/src/xmllight_private.h
View file @
8c2e1738
...
@@ -82,7 +82,8 @@ namespace XmlUtils
...
@@ -82,7 +82,8 @@ namespace XmlUtils
Clear
();
Clear
();
NSFile
::
CFileBinary
oFile
;
NSFile
::
CFileBinary
oFile
;
oFile
.
OpenFile
(
sFilePath
);
if
(
oFile
.
OpenFile
(
sFilePath
)
==
false
)
return
false
;
m_lStreamLen
=
(
LONG
)
oFile
.
GetFileSize
();
m_lStreamLen
=
(
LONG
)
oFile
.
GetFileSize
();
m_pStream
=
new
BYTE
[
m_lStreamLen
];
m_pStream
=
new
BYTE
[
m_lStreamLen
];
DWORD
dwRead
=
0
;
DWORD
dwRead
=
0
;
...
...
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