summaryrefslogtreecommitdiff
path: root/sfx2/source/toolbox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-06 08:05:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-06 08:51:04 +0100
commite4049dfb6aebd6ec0097e9eeed5376c874660cd5 (patch)
tree14366cce6631001994726dcb74394ec545cc9b6b /sfx2/source/toolbox
parent645e014a15b6895b9533afa3b11f2f3afcb4c190 (diff)
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>
Diffstat (limited to 'sfx2/source/toolbox')
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx4
1 files 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 );