summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 12:31:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:34:59 +0100
commitc5e7e3bad75b29e7678c3a6234dbfe0a60517dce (patch)
tree476caa631ae44aa3dbee0097c95468f6c13ebe8c /starmath/inc
parentb7302c487004e61afdfb7f5961ce2281b2672581 (diff)
loplugin:subtlezeroinit: starmath
Change-Id: Ifc6f4788bb285e28451df9c98a72b454b7685160
Diffstat (limited to 'starmath/inc')
-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