[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - sd/source

Miklos Vajna vmiklos at collabora.co.uk
Tue Feb 24 07:01:42 PST 2015


 sd/source/ui/view/viewshel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 56653744e51af61f43d096abf1607752c807b64d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Feb 24 15:52:52 2015 +0100

    sd::ViewShell::LogicMouseButtonDown(): typo
    
    SetPointerPosPixel() was the method I modified locally before
    implementing the dedicated SetLastMousePos(), just forgot to adapt sd
    code to call the new one.
    
    Change-Id: Ic4958459c42d5b2cced01b686fa192f43fc3c965

diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 0056af8..1bc8ac9 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -510,7 +510,7 @@ void ViewShell::LogicMouseButtonDown(const MouseEvent& rMouseEvent)
     bool bMap = mpActiveWindow->IsMapModeEnabled();
     mpActiveWindow->EnableMapMode(false);
     Point aPoint = mpActiveWindow->GetPointerPosPixel();
-    mpActiveWindow->SetPointerPosPixel(rMouseEvent.GetPosPixel());
+    mpActiveWindow->SetLastMousePos(rMouseEvent.GetPosPixel());
 
     MouseButtonDown(rMouseEvent, 0);
 


More information about the Libreoffice-commits mailing list