diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-09-12 13:42:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-12 14:54:03 +0200 |
commit | b881aba777de30bb6b4f365f4d7b86040882441d (patch) | |
tree | ac5a2f3b5dec517833af7456c7155f38ffa6d181 /svtools | |
parent | 04203a26757d26814a18c3251d1a97f6ded64a62 (diff) |
tdf#136217 fix moving tag in writer
regression from
commit e67657d5211f6e95ddf8bd621108608573b00d5d
loplugin:simplifybool more
Change-Id: I4c62a7922734ea76ecec580491bfe8b0f62b781b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102514
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ruler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 46c9afcdb1cf..d23264972ce8 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -1915,7 +1915,7 @@ void Ruler::ImplEndDrag() void Ruler::MouseButtonDown( const MouseEvent& rMEvt ) { - if ( rMEvt.IsLeft() || IsTracking() ) + if ( !rMEvt.IsLeft() || IsTracking() ) return; Point aMousePos = rMEvt.GetPosPixel(); |