diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-12 15:16:05 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 20:33:46 +0100 |
commit | ce8cfbd3b90f11c3f2edc88a0dab625aabb6293d (patch) | |
tree | 7128c82bf9c71332342de974fd1f0ab32ee0bc72 /svtools/source/dialogs/wizdlg.cxx | |
parent | 1f59e2cec3f4a22d612ca6cff06930c3d4bb77ca (diff) |
svtools: apply vcl::window refcounting changes
Change-Id: I308f045eaf5c50de26175a2f00f8b0791cdd8ab9
Conflicts:
svtools/source/control/tabbar.cxx
Diffstat (limited to 'svtools/source/dialogs/wizdlg.cxx')
-rw-r--r-- | svtools/source/dialogs/wizdlg.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx index e52031383900..c38c6944678d 100644 --- a/svtools/source/dialogs/wizdlg.cxx +++ b/svtools/source/dialogs/wizdlg.cxx @@ -363,6 +363,11 @@ WizardDialog::WizardDialog( vcl::Window* pParent, const OUString& rID, const OUS WizardDialog::~WizardDialog() { + dispose(); +} + +void WizardDialog::dispose() +{ maWizardLayoutIdle.Stop(); // Remove all buttons @@ -372,6 +377,8 @@ WizardDialog::~WizardDialog() // Remove all pages while ( mpFirstPage ) RemovePage( mpFirstPage->mpPage ); + + ModalDialog::dispose(); } |