diff options
Diffstat (limited to 'sc/source/ui/namedlg/namepast.cxx')
-rw-r--r-- | sc/source/ui/namedlg/namepast.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/ui/namedlg/namepast.cxx b/sc/source/ui/namedlg/namepast.cxx index 841781575ed4..f508d32eebda 100644 --- a/sc/source/ui/namedlg/namepast.cxx +++ b/sc/source/ui/namedlg/namepast.cxx @@ -65,7 +65,13 @@ ScNamePasteDlg::ScNamePasteDlg( vcl::Window * pParent, ScDocShell* pShell, bool ScNamePasteDlg::~ScNamePasteDlg() { + dispose(); +} + +void ScNamePasteDlg::dispose() +{ delete mpTable; + ModalDialog::dispose(); } IMPL_LINK( ScNamePasteDlg, ButtonHdl, Button *, pButton ) |