summaryrefslogtreecommitdiff
path: root/vcl/source/window/event.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:28:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:32:00 +0100
commitd3b6cb7ec2da4afb5687c9d28b2be2f96e6aa7b1 (patch)
treee9d209d6d5f06cacd8e0df78c7f6b8ad45d74be5 /vcl/source/window/event.cxx
parent45979047abbd9da7a29401f298e8ef9ab58ad337 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I05e89f9896170d4df3d1377549ea074f06b884a0
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r--vcl/source/window/event.cxx12
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;
}