[Libreoffice-commits] core.git: vcl/source

Michael Stahl mstahl at redhat.com
Thu Sep 10 05:38:17 PDT 2015


 vcl/source/control/button.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a9fa776cdaacac30fd8df22d85aab30ef70c9776
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Sep 10 14:35:41 2015 +0200

    vcl: fix utterly mysterious error C2064 term does not evaluate
    
    ... to a function taking 0 arguments with MSVC 2013.
    
    Change-Id: I73744bfe9def70d00e6e489f7064472cdb64b113

diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 50058ea..49ad2cf 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, NULL );
+    ImplCallEventListenersAndHandler( VCLEVENT_PUSHBUTTON_TOGGLE, nullptr );
 }
 
 void PushButton::SetSymbol( SymbolType eSymbol )


More information about the Libreoffice-commits mailing list