summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 49d759d89aaa..f35cf8705d21 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -4285,9 +4285,10 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt)
else
{
if( !rMEvt.IsSynthetic() &&
- !(( MOUSE_LEFT + KEY_MOD1 ==
- rMEvt.GetModifier() + rMEvt.GetButtons() ) &&
- rSh.Is_FnDragEQBeginDrag() && !rSh.IsAddMode() ))
+ !( MOUSE_LEFT == rMEvt.GetButtons() &&
+ KEY_MOD1 == rMEvt.GetModifier() &&
+ rSh.Is_FnDragEQBeginDrag() &&
+ !rSh.IsAddMode() ) )
{
rSh.Drag( &aDocPt, false );