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/cursor.cxx | |
parent | 45979047abbd9da7a29401f298e8ef9ab58ad337 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I05e89f9896170d4df3d1377549ea074f06b884a0
Diffstat (limited to 'vcl/source/window/cursor.cxx')
-rw-r--r-- | vcl/source/window/cursor.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/window/cursor.cxx b/vcl/source/window/cursor.cxx index 5a01d10e676a..738ff0d3418c 100644 --- a/vcl/source/window/cursor.cxx +++ b/vcl/source/window/cursor.cxx @@ -175,7 +175,7 @@ void vcl::Cursor::ImplDoShow( bool bDrawDirect, bool bRestore ) pWindow = Application::GetFocusWindow(); if ( !pWindow || (pWindow->mpWindowImpl->mpCursor != this) || pWindow->mpWindowImpl->mbInPaint || !pWindow->mpWindowImpl->mpFrameData->mbHasFocus ) - pWindow = NULL; + pWindow = nullptr; } if ( pWindow ) @@ -216,7 +216,7 @@ bool vcl::Cursor::ImplDoHide( bool bSuspend ) if ( !bSuspend ) { mpData->maTimer.Stop(); - mpData->mpWindow = NULL; + mpData->mpWindow = nullptr; } } return bWasCurVisible; @@ -269,8 +269,8 @@ IMPL_LINK_NOARG_TYPED(vcl::Cursor, ImplTimerHdl, Timer *, void) vcl::Cursor::Cursor() { - mpData = NULL; - mpWindow = NULL; + mpData = nullptr; + mpWindow = nullptr; mnSlant = 0; mnOrientation = 0; mnDirection = CursorDirection::NONE; @@ -282,8 +282,8 @@ vcl::Cursor::Cursor( const Cursor& rCursor ) : maSize( rCursor.maSize ), maPos( rCursor.maPos ) { - mpData = NULL; - mpWindow = NULL; + mpData = nullptr; + mpWindow = nullptr; mnSlant = rCursor.mnSlant; mnOrientation = rCursor.mnOrientation; mnDirection = rCursor.mnDirection; |