diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-12 11:38:12 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 20:17:25 +0100 |
commit | 1f59e2cec3f4a22d612ca6cff06930c3d4bb77ca (patch) | |
tree | 22fb02505caea2c016d74b1a303cbcad1cb7614a /include/vcl/morebtn.hxx | |
parent | 9a6bf4be437102004a01ee5818e943f0e095eefe (diff) |
vcl: window destructors calling dispose
Extend plugin to warn on any vcl::Window subclass that has a destructor
and does not implement dispose.
Apply this provision to the necessary classes in vcl/
Change-Id: I05189f8df02568131d59fc44fea904c87733c8c7
Diffstat (limited to 'include/vcl/morebtn.hxx')
-rw-r--r-- | include/vcl/morebtn.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/morebtn.hxx b/include/vcl/morebtn.hxx index 4dbd6da57736..936cbba77d9e 100644 --- a/include/vcl/morebtn.hxx +++ b/include/vcl/morebtn.hxx @@ -35,7 +35,7 @@ class VCL_DLLPUBLIC MoreButton : public PushButton { private: ImplMoreButtonData* mpMBData; - sal_uLong mnDelta; + sal_uLong mnDelta; MapUnit meUnit; bool mbState; @@ -50,6 +50,7 @@ protected: public: explicit MoreButton( vcl::Window* pParent, WinBits nStyle = 0 ); virtual ~MoreButton(); + virtual void dispose() SAL_OVERRIDE; void Click() SAL_OVERRIDE; |