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 <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2019-11-06 08:51:04 +01:00
parent 645e014a15
commit e4049dfb6a
+2 -2
View File
@@ -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 );