summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-13 21:42:52 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 11:02:21 +0100
commit6443d75965a34b0b11f176d887015997b4eadc5f (patch)
tree83e6c0cbf8a84986ea473ecf9f81d61a3a3247b2 /starmath
parentd7930771b8441b7e7aa9a0e2809298054443e3ff (diff)
converting in-line member to VclPtr needs a disposeAndClear in destructor.
Change-Id: I533eede461d173bd270e5a309fa13aab37bc0a13
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/view.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 2a5ec956f3f1..1e602de7b5db 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -1974,6 +1974,7 @@ SmViewShell::~SmViewShell()
SmEditWindow *pEditWin = GetEditWindow();
if (pEditWin)
pEditWin->DeleteEditView( *this );
+ aGraphic.disposeAndClear();
}
void SmViewShell::Deactivate( bool bIsMDIActivate )