diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2018-01-26 22:25:43 +0530 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-01-29 17:44:08 +0100 |
commit | d7cec9dc92f129558db97735d71ebabf32f92378 (patch) | |
tree | 99370ae3e93e8fbc4ec3386e76ed4c9487520b92 | |
parent | c07b3ed6131da2f2dd9a0acebd47cf931edfb73e (diff) |
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 <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r-- | vcl/source/window/winproc.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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 <unotools/localedatawrapper.hxx> +#include <comphelper/lok.hxx> #include <vcl/i18nhelp.hxx> #include <vcl/unohelp.hxx> #include <vcl/timer.hxx> @@ -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 ) || |