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.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx
index 9f15e05ec985..82c98e43fb1f 100644
--- a/starmath/inc/cursor.hxx
+++ b/starmath/inc/cursor.hxx
@@ -90,8 +90,7 @@ public:
~SmCursor(){
SetClipboard();
- if(pGraph)
- delete pGraph;
+ delete pGraph;
pGraph = NULL;
}