starmath/source/cursor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2292904f85ab6c360c30914e8621e516f8ae1388 Author: Ivan Timofeev <timofeev....@gmail.com> Date: Fri Dec 2 17:21:15 2011 +0400 visual formula editor: fix insertion of "-" diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx index 1b66fa1..f1eeb0d 100644 --- a/starmath/source/cursor.cxx +++ b/starmath/source/cursor.cxx @@ -1040,7 +1040,7 @@ void SmCursor::InsertElement(SmFormulaElement element){ SmToken token; token.eType = TMINUS; token.cMathChar = MS_MINUS; - token.nGroup = MS_PLUS; + token.nGroup = TGUNOPER | TGSUM; token.nLevel = 5; token.aText.AssignAscii("-"); pNewNode = new SmMathSymbolNode(token); _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits