starmath/source/parse.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit f07aa1136ee68329a2b5f7cb88d2a8b5c83f474b Author: Takeshi Abe <t...@fixedpoint.jp> Date: Mon Jun 27 18:43:56 2016 +0900 starmath: This condition must be met Otherwise, the following static_cast would be broken. Change-Id: Iad4738292ed6903eed78d5af98f77194d5a1d8fe Reviewed-on: https://gerrit.libreoffice.org/26696 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Takeshi Abe <t...@fixedpoint.jp> diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 7d02bad..b7a0cf0 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1508,10 +1508,7 @@ void SmParser::DoTerm(bool bGroupNumberIdent) DoFontAttribut(); SmNode* pTmp = popOrZero(m_aNodeStack); - - // check if casting in following line is ok - OSL_ENSURE(pTmp && !pTmp->IsVisible(), "Sm : Ooops..."); - + assert(pTmp && !pTmp->IsVisible()); aStack.push(static_cast<SmStructureNode *>(pTmp)); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits