Kaydet (Commit) 6cd854f8 authored tarafından Takeshi Abe's avatar Takeshi Abe

starmath: Assert an impossible error in parsing tables

Change-Id: If7b6080504c1c89bc39bf35bdca264c509f09faf
Reviewed-on: https://gerrit.libreoffice.org/36290Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTakeshi Abe <tabe@fixedpoint.jp>
üst b377caa1
......@@ -949,10 +949,7 @@ SmTableNode *SmParser::DoTable()
if (m_aCurToken.eType != TEND)
assert(m_aCurToken.eType == TEND);
std::unique_ptr<SmTableNode> pSNode(new SmTableNode(m_aCurToken));
return pSNode.release();
......@@ -984,6 +981,7 @@ SmNode *SmParser::DoAlign(bool bUseExtraSpaces)
return pNode.release();
// Postcondition: m_aCurToken.eType == TEND || m_aCurToken.eType == TNEWLINE
SmLineNode *SmParser::DoLine()
SmNodeArray ExpressionArray;
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