sd/source/ui/func/fusnapln.cxx | 2 +- sd/source/ui/inc/DrawViewShell.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 7dd30625175131bdcf9a9d621369b898aea5bcdc Author: Caolán McNamara <[email protected]> AuthorDate: Tue Oct 13 20:49:28 2020 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Wed Oct 14 10:01:57 2020 +0200 SetMousePosFreezed is always called with false Change-Id: Id1e32f3a4d7efd7805a2142682b1e9486d120539 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104258 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sd/source/ui/func/fusnapln.cxx b/sd/source/ui/func/fusnapln.cxx index dbf08f4fbe01..b94e5ecb7f06 100644 --- a/sd/source/ui/func/fusnapln.cxx +++ b/sd/source/ui/func/fusnapln.cxx @@ -80,7 +80,7 @@ void FuSnapLine::DoExecute( SfxRequest& rReq ) // request. Determine it from the mouse position. aLinePos = static_cast<DrawViewShell*>(mpViewShell)->GetMousePos(); - static_cast<DrawViewShell*>(mpViewShell)->SetMousePosFreezed( false ); + static_cast<DrawViewShell*>(mpViewShell)->SetMousePosFreezed(); if ( aLinePos.X() >= 0 ) { diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx index 8d1820ae3409..ec259808c273 100644 --- a/sd/source/ui/inc/DrawViewShell.hxx +++ b/sd/source/ui/inc/DrawViewShell.hxx @@ -234,7 +234,7 @@ public: PageKind GetPageKind() const { return mePageKind; } void SetPageKind( PageKind ePageKind ) { mePageKind = ePageKind; } const Point& GetMousePos() const { return maMousePos; } - void SetMousePosFreezed( bool bIn ) { mbMousePosFreezed = bIn; } + void SetMousePosFreezed() { mbMousePosFreezed = false; } EditMode GetEditMode() const { return meEditMode; } virtual SdPage* GetActualPage() override { return mpActualPage; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
