diff options
Diffstat (limited to 'svx/source/dialog/graphctl.cxx')
-rw-r--r-- | svx/source/dialog/graphctl.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index 2cbee8804493..236f046a8c69 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -84,6 +84,11 @@ extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeGraphCtrl(vcl::Window GraphCtrl::~GraphCtrl() { + disposeOnce(); +} + +void GraphCtrl::dispose() +{ if( mpAccContext ) { mpAccContext->disposing(); @@ -92,6 +97,7 @@ GraphCtrl::~GraphCtrl() delete pView; delete pModel; delete pUserCall; + Control::dispose(); } void GraphCtrl::SetWinStyle( WinBits nWinBits ) |