Commit 5b70b8bd authored by Alexey.Musinov's avatar Alexey.Musinov Committed by Alexander Trofimov

[ios] правки для конвертера

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@64083 954022d7-b5bf-4e40-9824-e11837661b57
parent 3ce46d81
...@@ -31,7 +31,12 @@ namespace OOX ...@@ -31,7 +31,12 @@ namespace OOX
writer.WriteString(_T("<cellStyle")); writer.WriteString(_T("<cellStyle"));
if(m_oName.IsInit()) if(m_oName.IsInit())
{ {
CString sVal;sVal.Format(_T(" name=\"%ls\""), XmlUtils::EncodeXmlString(m_oName.get())); //CString sVal;sVal.Format(_T(" name=\"%ls\""), XmlUtils::EncodeXmlString(m_oName.get()));
CString sVal(_T(" name=\""));
sVal += XmlUtils::EncodeXmlString(m_oName.get());
sVal += CString(_T("\""));
writer.WriteString(sVal); writer.WriteString(sVal);
} }
if(m_oXfId.IsInit()) if(m_oXfId.IsInit())
......
...@@ -41,7 +41,12 @@ namespace OOX ...@@ -41,7 +41,12 @@ namespace OOX
} }
if(m_oFormatCode.IsInit()) if(m_oFormatCode.IsInit())
{ {
CString sVal;sVal.Format(_T(" formatCode=\"%ls\""), XmlUtils::EncodeXmlString(m_oFormatCode.get())); //CString sVal;sVal.Format(_T(" formatCode=\"%ls\""), XmlUtils::EncodeXmlString(m_oFormatCode.get()));
CString sVal(_T(" formatCode=\""));
sVal += XmlUtils::EncodeXmlString(m_oFormatCode.get());
sVal += CString(_T("\""));
writer.WriteString(sVal); writer.WriteString(sVal);
} }
if(m_oSourceLinked.IsInit()) if(m_oSourceLinked.IsInit())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment