[Libreoffice-commits] core.git: svtools/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Sat Sep 12 12:54:45 UTC 2020
svtools/source/control/ruler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b881aba777de30bb6b4f365f4d7b86040882441d
Author: Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Sat Sep 12 13:42:34 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Sep 12 14:54:03 2020 +0200
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 at collabora.co.uk>
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();
More information about the Libreoffice-commits
mailing list