From d7cec9dc92f129558db97735d71ebabf32f92378 Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Fri, 26 Jan 2018 22:25:43 +0530 Subject: lokdialog: Don't leak tooltip text window through tunnelling f/w Change-Id: I0491c86fdb1511ee4841aa670428c78aba24b8d0 (cherry picked from commit 3dcf50fb383ebd8c38b1b931e41e3985adcc9bed) Reviewed-on: https://gerrit.libreoffice.org/48714 Reviewed-by: Jan Holesovsky Tested-by: Jan Holesovsky --- vcl/source/window/winproc.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index 47bcab8697c9..f184555a75f9 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -22,6 +22,7 @@ #include +#include #include #include #include @@ -158,6 +159,9 @@ static bool ImplHandleMouseFloatMode( vcl::Window* pChild, const Point& rMousePo static void ImplHandleMouseHelpRequest( vcl::Window* pChild, const Point& rMousePos ) { + if (comphelper::LibreOfficeKit::isActive()) + return; + ImplSVData* pSVData = ImplGetSVData(); if ( !pSVData->maHelpData.mpHelpWin || !( pSVData->maHelpData.mpHelpWin->IsWindowOrChild( pChild ) || -- cgit