diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-13 20:49:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-14 10:01:57 +0200 |
commit | 7dd30625175131bdcf9a9d621369b898aea5bcdc (patch) | |
tree | 115e20b740adff8077ba86d52347ec9eab507d70 /sd | |
parent | c2ed7b4ce31e65867b5f55e90372f67bc2b0e75e (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fusnapln.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/DrawViewShell.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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; } |