From e4049dfb6aebd6ec0097e9eeed5376c874660cd5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 Nov 2019 08:05:04 +0200 Subject: [PATCH] fix translate bug in SfxPopupWindow::MouseMove there since initial import Change-Id: Ic38ab070c22632dde00cdea0b109b236f8590654 Reviewed-on: https://gerrit.libreoffice.org/82117 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/toolbox/tbxitem.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index dd5aad9f838a..47c00af49c09 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -817,10 +817,10 @@ void SfxPopupWindow::MouseMove( const ::MouseEvent& rMEvt ) vcl::Window* pWindow = GetChild( i ); while ( pWindow ) { - ::MouseEvent aMEvt( pWindow->ScreenToOutputPixel( aScrPos ), + ::MouseEvent aChildMEvt( pWindow->ScreenToOutputPixel( aScrPos ), rMEvt.GetClicks(), rMEvt.GetMode(), rMEvt.GetButtons(), rMEvt.GetModifier() ); - pWindow->MouseMove( rMEvt ); + pWindow->MouseMove( aChildMEvt ); pWindow->Update(); i++; pWindow = GetChild( i );