WaE: loplugin:nullptr

Change-Id: I279d0021e7cdfd7e2d73ec6542e9ba27f300606c
This commit is contained in:
Caolán McNamara
2016-03-16 20:52:34 +00:00
parent e3d0e8069e
commit e7d405b74e

View File

@@ -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--;
}