Kaydet (Commit) f0321253 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1296215 Dereference before null check

Change-Id: I38fd1780bbbe30f2dbc6ca5db9b815e571f06750
üst cee3e3d7
...@@ -284,7 +284,7 @@ void Window::ImplGrabFocus( sal_uInt16 nFlags ) ...@@ -284,7 +284,7 @@ void Window::ImplGrabFocus( sal_uInt16 nFlags )
} }
if ( ( pSVData->maWinData.mpFocusWin.get() != this && if ( ( pSVData->maWinData.mpFocusWin.get() != this &&
mpWindowImpl && !mpWindowImpl->mbInDispose ) || !mpWindowImpl->mbInDispose ) ||
( bAsyncFocusWaiting && !bHasFocus && !bMustNotGrabFocus ) ) ( bAsyncFocusWaiting && !bHasFocus && !bMustNotGrabFocus ) )
{ {
// EndExtTextInput if it is not the same window // EndExtTextInput if it is not the same window
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment