summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-12 12:12:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-12 12:12:18 +0100
commit910c31ab55a90c87e9e16ded734fec396660e331 (patch)
tree46a439a62bbcac3310b3aa624da665811e282b03 /vcl
parent3cc56b50c2db1d9f4e1aab033da32bf45f854b4f (diff)
loplugin:vclwidgets
"OutputDevice subclass dispose() function MUST call dispose() of its superclass as the last thing it does" Change-Id: I3f0977cc031edef61b24eb316790de32a24ccbcf
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/button.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 153c706c6b76..b3390a37cf19 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -107,9 +107,9 @@ Button::~Button()
void Button::dispose()
{
- Control::dispose();
if (mpButtonData->mpStatusListener.is())
mpButtonData->mpStatusListener->dispose();
+ Control::dispose();
}
void Button::SetCommandHandler(const OUString& aCommand)