diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-30 19:34:29 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-30 19:34:29 +0100 |
commit | 31fa0633795e681035f7b9cda5747c9e2af28665 (patch) | |
tree | eae8c1c620ee21f963e9d642b3f859a001d35fd7 /vcl/source | |
parent | d0c94302b89a99c31a7a76f07c58b29638ac3d0f (diff) |
coverity#440801 Dereference after null check
Change-Id: I067d52236b189e09955d7aa3ce2fbd25b0d330bd
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index f2acdef3c24d..8c9c30f5cf9a 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -2319,7 +2319,7 @@ void Window::ImplCalcOverlapRegion( const Rectangle& rSourceRect, Region& rRegio } while ( pWindow ); } - if ( !pWindow->mpWindowImpl->mbFrame ) + if ( pWindow && !pWindow->mpWindowImpl->mbFrame ) { aTempRegion = aRegion; aTempRegion.Exclude( Rectangle( Point( 0, 0 ), Size( mpWindowImpl->mpFrameWindow->mnOutWidth, mpWindowImpl->mpFrameWindow->mnOutHeight ) ) ); |