x2t refactoring (delete AscString, ...)

This commit is contained in:
ElenaSubbotina
2017-01-16 10:30:00 +03:00
parent 9d1f83b1ce
commit 1a57f62773
826 changed files with 31104 additions and 40992 deletions

View File

@ -139,8 +139,8 @@ namespace DocFileFormat
bool ParseEmbeddedEquation( const std::string & xmlString, std::wstring & newXmlString)
{
newXmlString.clear();
std::wstring sTempXmlFile = FileSystem::Directory::CreateTempFileWithUniqueName(
FileSystem::Directory::GetTempPath(), L"emb");
std::wstring sTempXmlFile = NSDirectory::CreateTempFileWithUniqueName(
NSDirectory::GetTempPath(), L"emb");
sTempXmlFile += L".xml";
@ -164,7 +164,7 @@ namespace DocFileFormat
if (paragraph->m_arrItems[j]->getType() == OOX::et_m_oMath)
{
res = true;
newXmlString = paragraph->m_arrItems[j]->toXML().GetBuffer();
newXmlString = paragraph->m_arrItems[j]->toXML();
break;
}
else if (paragraph->m_arrItems[j]->getType() == OOX::et_m_oMathPara)
@ -176,7 +176,7 @@ namespace DocFileFormat
if (mathPara->m_arrItems[k]->getType() == OOX::et_m_oMath)
{
res = true;
newXmlString = mathPara->m_arrItems[k]->toXML().GetBuffer();
newXmlString = mathPara->m_arrItems[k]->toXML();
break;
}
}