diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:28:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:32:00 +0100 |
commit | d3b6cb7ec2da4afb5687c9d28b2be2f96e6aa7b1 (patch) | |
tree | e9d209d6d5f06cacd8e0df78c7f6b8ad45d74be5 /vcl/source/window/event.cxx | |
parent | 45979047abbd9da7a29401f298e8ef9ab58ad337 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I05e89f9896170d4df3d1377549ea074f06b884a0
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r-- | vcl/source/window/event.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx index 548e8704054c..c31aa63e1fe4 100644 --- a/vcl/source/window/event.cxx +++ b/vcl/source/window/event.cxx @@ -316,7 +316,7 @@ ImplSVEvent * Window::PostUserEvent( const Link<void*,void>& rLink, void* pCalle { ImplRemoveDel( &(pSVEvent->maDelData) ); delete pSVEvent; - pSVEvent = 0; + pSVEvent = nullptr; } return pSVEvent; } @@ -331,7 +331,7 @@ void Window::RemoveUserEvent( ImplSVEvent * nUserEvent ) if ( nUserEvent->mpWindow ) { nUserEvent->mpWindow->ImplRemoveDel( &(nUserEvent->maDelData) ); - nUserEvent->mpWindow = NULL; + nUserEvent->mpWindow = nullptr; } nUserEvent->mbCall = false; @@ -507,7 +507,7 @@ void Window::ImplCallMove() if( mpWindowImpl->mbFrame ) { // update frame position - SalFrame *pParentFrame = NULL; + SalFrame *pParentFrame = nullptr; vcl::Window *pParent = ImplGetParent(); while( pParent ) { @@ -581,7 +581,7 @@ void Window::ImplCallFocusChangeActivate( vcl::Window* pNewOverlapWindow, pLastRealWindow->Activate(); } } - pSVData->maWinData.mpLastDeacWin = NULL; + pSVData->maWinData.mpLastDeacWin = nullptr; } } @@ -623,8 +623,8 @@ void Window::ImplCallFocusChangeActivate( vcl::Window* pNewOverlapWindow, NotifyEvent::NotifyEvent() { - mpWindow = NULL; - mpData = NULL; + mpWindow = nullptr; + mpData = nullptr; mnEventType = MouseNotifyEvent::NONE; mnRetValue = 0; } |