Commit ac3c2e4d authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander Trofimov

PPTX:merge from branches\Docx2DoctConverter Revision: 59943

Bug 27774 - MS Word некорректно открывает файл, созданный в CDE с "&" в комментариях.

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59953 954022d7-b5bf-4e40-9824-e11837661b57
parent 1a9b8356
......@@ -1521,7 +1521,7 @@ public:
{
CString sPart;
if(nPrevIndex < nCurIndex)
sPart = sText.Mid(nPrevIndex, nCurIndex - nPrevIndex);
sPart = XmlUtils::EncodeXmlString(sText.Mid(nPrevIndex, nCurIndex - nPrevIndex));
int nId = pComment->m_oParaIdCounter.getNextId();
CString sId;
sId.Format(_T("%08X"), nId);
......
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