Commit da2493ed authored by ElenaSubbotina's avatar ElenaSubbotina

OdfFormatReader - fix math matrix

parent 0a183f35
...@@ -236,7 +236,6 @@ void pptx_serialize_table(std::wostream & strm, _pptx_drawing & val) ...@@ -236,7 +236,6 @@ void pptx_serialize_table(std::wostream & strm, _pptx_drawing & val)
if (strTableContent) if (strTableContent)
{ {
std::wstring ttt = strTableContent.get();
CP_XML_STREAM() << strTableContent.get(); CP_XML_STREAM() << strTableContent.get();
} }
} }
......
...@@ -94,10 +94,10 @@ void math_mtr::oox_convert(oox::math_context & Context) ...@@ -94,10 +94,10 @@ void math_mtr::oox_convert(oox::math_context & Context)
strm << L"<m:mr>"; strm << L"<m:mr>";
for (int i = 0; i < content_.size(); i++) for (int i = 0; i < content_.size(); i++)
{ {
strm << L"<m:e>"; //strm << L"<m:e>"; // EqArray записался в числитель вместо знаменателя.docx - дублирование
office_math_element* math_element = dynamic_cast<office_math_element*>(content_[i].get()); office_math_element* math_element = dynamic_cast<office_math_element*>(content_[i].get());
math_element->oox_convert(Context); math_element->oox_convert(Context);
strm << L"</m:e>"; //strm << L"</m:e>";
} }
strm << L"</m:mr>"; strm << L"</m:mr>";
} }
......
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