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
771bf2d5
Commit
771bf2d5
authored
Jun 05, 2017
by
Sergey Konovalov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
for bug 27765
EncodeXml
parent
3c58cd96
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Common/DocxFormat/Source/XlsxFormat/ExternalLinks/ExternalLinks.h
...ocxFormat/Source/XlsxFormat/ExternalLinks/ExternalLinks.h
+3
-3
No files found.
Common/DocxFormat/Source/XlsxFormat/ExternalLinks/ExternalLinks.h
View file @
771bf2d5
...
@@ -77,7 +77,7 @@ namespace OOX
...
@@ -77,7 +77,7 @@ namespace OOX
for
(
size_t
i
=
0
;
i
<
m_arrItems
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
m_arrItems
.
size
();
++
i
)
{
{
writer
.
WriteString
(
L"<sheetName "
);
writer
.
WriteString
(
L"<sheetName "
);
writer
.
WriteString
(
m_arrItems
[
i
]
->
ToString
());
writer
.
Write
EncodeXml
String
(
m_arrItems
[
i
]
->
ToString
());
writer
.
WriteString
(
L"/>"
);
writer
.
WriteString
(
L"/>"
);
}
}
writer
.
WriteString
(
L"</sheetNames>"
);
writer
.
WriteString
(
L"</sheetNames>"
);
...
@@ -121,8 +121,8 @@ namespace OOX
...
@@ -121,8 +121,8 @@ namespace OOX
virtual
void
toXML
(
NSStringUtils
::
CStringBuilder
&
writer
)
const
virtual
void
toXML
(
NSStringUtils
::
CStringBuilder
&
writer
)
const
{
{
writer
.
WriteString
(
L"<definedName"
);
writer
.
WriteString
(
L"<definedName"
);
WritingStringNullableAttrString
(
L"name"
,
m_oName
,
m_oName
.
get
());
WritingStringNullableAttr
EncodeXml
String
(
L"name"
,
m_oName
,
m_oName
.
get
());
WritingStringNullableAttrString
(
L"refersTo"
,
m_oRefersTo
,
m_oRefersTo
.
get
());
WritingStringNullableAttr
EncodeXml
String
(
L"refersTo"
,
m_oRefersTo
,
m_oRefersTo
.
get
());
WritingStringNullableAttrInt
(
L"sheetId"
,
m_oSheetId
,
m_oSheetId
->
GetValue
());
WritingStringNullableAttrInt
(
L"sheetId"
,
m_oSheetId
,
m_oSheetId
->
GetValue
());
writer
.
WriteString
(
L"/>"
);
writer
.
WriteString
(
L"/>"
);
}
}
...
...
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