summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2018-01-26 22:25:43 +0530
committerPranav Kant <pranavk@collabora.co.uk>2018-01-26 22:29:53 +0530
commit3dcf50fb383ebd8c38b1b931e41e3985adcc9bed (patch)
treed91402e4514b642cd447591a200491d3b1710f05 /vcl
parenta39cefd99c40f121b60c882dba6000894b6996d9 (diff)
lokdialog: Don't leak tooltip text window through tunnelling f/w
Change-Id: I0491c86fdb1511ee4841aa670428c78aba24b8d0
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/winproc.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 66233e765941..efe671705472 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>
@@ -157,6 +158,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 ) ||