summaryrefslogtreecommitdiffstats
path: root/include/vcl/tabdlg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-12 11:38:12 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 20:17:25 +0100
commit1f59e2cec3f4a22d612ca6cff06930c3d4bb77ca (patch)
tree22fb02505caea2c016d74b1a303cbcad1cb7614a /include/vcl/tabdlg.hxx
parentvcl: dispose of more Window sub-classes, particularly top-level windows. (diff)
downloadcore-1f59e2cec3f4a22d612ca6cff06930c3d4bb77ca.tar.gz
core-1f59e2cec3f4a22d612ca6cff06930c3d4bb77ca.zip
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/tabdlg.hxx')
-rw-r--r--include/vcl/tabdlg.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/tabdlg.hxx b/include/vcl/tabdlg.hxx
index f02efc726596..f02e2a79de16 100644
--- a/include/vcl/tabdlg.hxx
+++ b/include/vcl/tabdlg.hxx
@@ -41,7 +41,8 @@ public:
TabDialog( vcl::Window* pParent,
WinBits nStyle = WB_STDTABDIALOG );
TabDialog( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription );
- virtual ~TabDialog();
+ virtual ~TabDialog();
+ virtual void dispose() SAL_OVERRIDE;
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;