summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-09 20:58:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-09 21:20:13 +0000
commita831e56c2402f1785350438300e516e4a830c0ba (patch)
tree98d11ead0263cb2a4a9c7711dfa74e07002de56a /starmath
parente03c29f50aa057544b3b6d0b0161dd433086b228 (diff)
we can move the pEditView delete inside the previous check for pEditView
Change-Id: I612a4f8ee1e49b1468a2898678660bd66902fc96
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/edit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index ecabca28839d..3fd9edeacd4a 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -142,8 +142,8 @@ SmEditWindow::~SmEditWindow()
pEditEngine->SetStatusEventHdl( Link() );
pEditEngine->RemoveView( pEditView );
}
+ delete pEditView;
}
- delete pEditView;
delete pHScrollBar;
delete pVScrollBar;
delete pScrollBox;