mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
fix bug #62840
This commit is contained in:
@ -219,9 +219,8 @@ namespace Txt2Docx
|
|||||||
if (!s.empty())
|
if (!s.empty())
|
||||||
{
|
{
|
||||||
OOX::Logic::CRunProperty *rPr_ = new OOX::Logic::CRunProperty();
|
OOX::Logic::CRunProperty *rPr_ = new OOX::Logic::CRunProperty();
|
||||||
rPr_->m_oRFonts = font;
|
rPr_->m_oRFonts = font;
|
||||||
std::wstring s_ = XmlUtils::EncodeXmlString(s);
|
AddText(paragraph, s, rPr_);
|
||||||
AddText(paragraph, s_, rPr_);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
AddTab(paragraph);
|
AddTab(paragraph);
|
||||||
@ -230,8 +229,7 @@ namespace Txt2Docx
|
|||||||
|
|
||||||
if (!line.empty())
|
if (!line.empty())
|
||||||
{
|
{
|
||||||
std::wstring s_ = XmlUtils::EncodeXmlString(line);
|
AddText(paragraph, line, rPr);
|
||||||
AddText(paragraph, s_, rPr);
|
|
||||||
}
|
}
|
||||||
pDocument->m_arrItems.push_back(paragraph);
|
pDocument->m_arrItems.push_back(paragraph);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user