vcl/source/window/winproc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6720da69043a5ca206e9feac8396335e7b0af793
Author:     Jan-Marek Glogowski <[email protected]>
AuthorDate: Tue Oct 23 19:42:54 2018 +0000
Commit:     Michael Stahl <[email protected]>
CommitDate: Fri Oct 26 21:39:02 2018 +0200

    tdf#120807 check for valid ImplGetWindowImpl()
    
    Change-Id: Ia1135d11990abc303849bd1b6a549c82008c79de
    Reviewed-on: https://gerrit.libreoffice.org/62260
    Tested-by: Jenkins
    Reviewed-by: Jan-Marek Glogowski <[email protected]>
    (cherry picked from commit db0051744330d82986e8f2629a027bc4a5dc1b4a)
    Reviewed-on: https://gerrit.libreoffice.org/62280
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index bf64ef132cc7..f8716f2135b5 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -1072,7 +1072,7 @@ static bool ImplHandleKey( vcl::Window* pWindow, 
MouseNotifyEvent nSVEvent,
     }
 
     // #105591# send keyinput to parent if we are a floating window and the 
key was not processed yet
-    if( !bRet && pWindow->ImplGetWindowImpl()->mbFloatWin && 
pWindow->GetParent() && (pWindow->ImplGetWindowImpl()->mpFrame != 
pWindow->GetParent()->ImplGetWindowImpl()->mpFrame) )
+    if( !bRet && pWindow->ImplGetWindowImpl() && 
pWindow->ImplGetWindowImpl()->mbFloatWin && pWindow->GetParent() && 
(pWindow->ImplGetWindowImpl()->mpFrame != 
pWindow->GetParent()->ImplGetWindowImpl()->mpFrame) )
     {
         pChild = pWindow->GetParent();
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to