diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-12 12:12:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-12 12:12:18 +0100 |
commit | 910c31ab55a90c87e9e16ded734fec396660e331 (patch) | |
tree | 46a439a62bbcac3310b3aa624da665811e282b03 /vcl | |
parent | 3cc56b50c2db1d9f4e1aab033da32bf45f854b4f (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.cxx | 2 |
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) |