starmath/source/parse.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
New commits: commit e186db5257956a88ed5ed7a9db1867b44324252d Author: Takeshi Abe <[email protected]> Date: Mon Nov 17 10:09:46 2014 +0900 assert that no other types than TGOPER can happen in SmParser::Oper() TOVERBRACE/TUNDERBRACE belongs to TGPRODUCT. Change-Id: I34b23858fb70f38ffd82e373e16ab68632d6e303 Reviewed-on: https://gerrit.libreoffice.org/12508 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 4b724b6..4683c37 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1655,11 +1655,6 @@ void SmParser::Oper() } break; - case TOVERBRACE : - case TUNDERBRACE : - pNode = new SmMathSymbolNode(m_aCurToken); - break; - case TOPER : NextToken(); @@ -1668,7 +1663,7 @@ void SmParser::Oper() break; default : - SAL_WARN("starmath", "unknown case"); + assert(false && "unknown case"); } m_aNodeStack.push(pNode);
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
