summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/gui/license_dialog.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-16 15:29:45 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 21:34:56 +0100
commit36070535cb6c1a257d2ea2cb3f10e83bf3aaa96f (patch)
tree0f4d1f6f3d608f08d04e8893dcedc3b50703b24f /desktop/source/deployment/gui/license_dialog.cxx
parent97eacd1d5581395de8801e5ba962044132575218 (diff)
vcl: VclPtr conversion in forms
Change-Id: I141cbe218fec31f2e6428b1d8c56c00557134a36
Diffstat (limited to 'desktop/source/deployment/gui/license_dialog.cxx')
-rw-r--r--desktop/source/deployment/gui/license_dialog.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx
index c9aab531d127..916525a6b7fb 100644
--- a/desktop/source/deployment/gui/license_dialog.cxx
+++ b/desktop/source/deployment/gui/license_dialog.cxx
@@ -57,6 +57,7 @@ class LicenseView : public MultiLineEdit, public SfxListener
public:
LicenseView( vcl::Window* pParent, WinBits nStyle );
virtual ~LicenseView();
+ virtual void dispose() SAL_OVERRIDE;
void ScrollDown( ScrollType eScroll );
@@ -122,9 +123,15 @@ extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeLicenseView(vcl::Windo
LicenseView::~LicenseView()
{
+ dispose();
+}
+
+void LicenseView::dispose()
+{
maEndReachedHdl = Link();
maScrolledHdl = Link();
EndListeningAll();
+ MultiLineEdit::dispose();
}
void LicenseView::ScrollDown( ScrollType eScroll )