diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index d58550425be2..81a10966629d 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -90,14 +90,19 @@ GraphCtrl::~GraphCtrl() void GraphCtrl::dispose() { + aUpdateIdle.Stop(); + if( mpAccContext ) { mpAccContext->disposing(); mpAccContext->release(); } delete pView; + pView = NULL; delete pModel; + pModel = NULL; delete pUserCall; + pUserCall = NULL; Control::dispose(); }