summaryrefslogtreecommitdiff
path: root/vcl/source/window/winproc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-05 09:59:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-05 17:35:08 +0200
commit9e57e164844e67faaf2b0424181c2df29e871992 (patch)
tree7932e66cc45c786e0055bea6603f4284ebb856fb /vcl/source/window/winproc.cxx
parent7fe756570fb4ab30f540d644fd5125a67c2d9ea9 (diff)
loplugin:unusedvariableplus
Change-Id: Id93086be1224b6f6bf0bdaa1d50b4f289099027e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133876 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/winproc.cxx')
-rw-r--r--vcl/source/window/winproc.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index b4ac7ac08ffa..5a1b36ea8472 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -401,9 +401,6 @@ bool ImplHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, MouseNotifyEvent
}
// Call the hook also, if Window is disabled
- Point aChildPos = pChild->ImplFrameToOutput( aMousePos );
- MouseEvent aMEvt( aChildPos, pWinFrameData->mnClickCount, nMode, nCode, nCode );
- NotifyEvent aNEvt( nSVEvent, pChild, &aMEvt );
if ( nSVEvent == MouseNotifyEvent::MOUSEBUTTONDOWN )
return true;