[Libreoffice-commits] core.git: include/vcl vcl/source
Noel Grandin
noel at peralex.com
Thu Sep 10 03:27:26 PDT 2015
include/vcl/button.hxx | 1 -
vcl/source/control/button.cxx | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 3d95279f6c1e42986a64e76ffc95a432004d4d88
Author: Noel Grandin <noel at peralex.com>
Date: Tue Sep 8 15:54:20 2015 +0200
remove unused Link<> field
Change-Id: I9fa72bd4a39d630829356117cec73b686efc7ae7
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 10a241c..5717ebc 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -121,7 +121,6 @@ protected:
PushButtonDropdownStyle mnDDStyle;
bool mbPressed;
bool mbInUserDraw;
- Link<> maToggleHdl;
SAL_DLLPRIVATE void ImplInitPushButtonData();
SAL_DLLPRIVATE WinBits ImplInitStyle( const vcl::Window* pPrevWindow, WinBits nStyle );
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index a9e616b..50058ea 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -1544,7 +1544,7 @@ bool PushButton::PreNotify( NotifyEvent& rNEvt )
void PushButton::Toggle()
{
- ImplCallEventListenersAndHandler( VCLEVENT_PUSHBUTTON_TOGGLE, [this] () { maToggleHdl.Call(this); } );
+ ImplCallEventListenersAndHandler( VCLEVENT_PUSHBUTTON_TOGGLE, NULL );
}
void PushButton::SetSymbol( SymbolType eSymbol )
More information about the Libreoffice-commits
mailing list