summaryrefslogtreecommitdiff
path: root/include/vcl/layout.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-08 14:09:13 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 20:03:21 +0100
commit1798a4433280a6cae38fe535fb043a8e27d7f95a (patch)
treeb08acb0329cd59ffcf18466b4efe30406ef421a0 /include/vcl/layout.hxx
parenta6acccc6d2e6a49691d2612af9898e4018c68861 (diff)
compilerplugin: check that necessary Window subclasses have a dispose method
i.e. the ones that declare any VclPtr fields Change-Id: I7adfc3b3b190a2ede60bfccd08f85a269fae33ca
Diffstat (limited to 'include/vcl/layout.hxx')
-rw-r--r--include/vcl/layout.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index d11da2cc05d0..fde760953db0 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -620,6 +620,8 @@ private:
};
VclPtr<EventBoxHelper> m_aEventBoxHelper;
+protected:
+ virtual void dispose() SAL_OVERRIDE;
public:
VclEventBox(vcl::Window* pParent)
: VclBin(pParent)