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

Caolán McNamara caolanm at redhat.com
Wed Mar 16 20:54:58 UTC 2016


 vcl/source/window/window2.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e7d405b74e30218a85a1e1ec371c8175df06ded7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Mar 16 20:52:34 2016 +0000

    WaE: loplugin:nullptr
    
    Change-Id: I279d0021e7cdfd7e2d73ec6542e9ba27f300606c

diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 3f6355e..457cd9f 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1024,13 +1024,13 @@ void Window::SetCompoundControl( bool bCompound )
 
 void Window::IncrementLockCount()
 {
-    assert( mpWindowImpl != NULL );
+    assert( mpWindowImpl != nullptr );
     mpWindowImpl->mnLockCount++;
 }
 
 void Window::DecrementLockCount()
 {
-    assert( mpWindowImpl != NULL );
+    assert( mpWindowImpl != nullptr );
     if (mpWindowImpl)
         mpWindowImpl->mnLockCount--;
 }


More information about the Libreoffice-commits mailing list