vcl/source/control/button.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 910c31ab55a90c87e9e16ded734fec396660e331 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Nov 12 12:12:18 2015 +0100 loplugin:vclwidgets "OutputDevice subclass dispose() function MUST call dispose() of its superclass as the last thing it does" Change-Id: I3f0977cc031edef61b24eb316790de32a24ccbcf diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 153c706..b3390a3 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits