summaryrefslogtreecommitdiff
path: root/starmath/inc/cursor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/inc/cursor.hxx')
-rw-r--r--starmath/inc/cursor.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx
index c5c99ef1f410..9be0b244e1d2 100644
--- a/starmath/inc/cursor.hxx
+++ b/starmath/inc/cursor.hxx
@@ -246,7 +246,7 @@ private:
* This method sets pNode = NULL and remove it from its parent.
* (Assuming it has a parent, and is a child of it).
*/
- static SmNodeList* NodeToList(SmNode*& rpNode, SmNodeList* pList = new SmNodeList()){
+ static SmNodeList* NodeToList(SmNode*& rpNode, SmNodeList* pList = new SmNodeList){
//Remove from parent and NULL rpNode
SmNode* pNode = rpNode;
if(rpNode && rpNode->GetParent()){ //Don't remove this, correctness relies on it