diff options
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r-- | starmath/source/parse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 787695685f58..9b7c2a5650ab 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1112,7 +1112,7 @@ void SmParser::Line() //If there's no expression, add an empty one. //this is to avoid a formula tree without any caret //positions, in visual formula editor. - if(ExpressionArray.size() == 0) + if(ExpressionArray.empty()) ExpressionArray.push_back(new SmExpressionNode(SmToken())); SmStructureNode *pSNode = new SmLineNode(m_aCurToken); |