Kaydet (Commit) 2aa1435c authored tarafından Miklos Vajna's avatar Miklos Vajna

SvxTableController::setCursorLogicPosition: fix unexpected graphic selection

Without this, an editeng selection handle dragged to the next cell and
turning into an Impress table selection triggers a graphic selection,
too.

Change-Id: Idf5e28f9b8d1ee8dacc6f869a17157e080f2c478
üst aea29f64
...@@ -3172,8 +3172,12 @@ bool SvxTableController::setCursorLogicPosition(const Point& rPosition, bool bPo ...@@ -3172,8 +3172,12 @@ bool SvxTableController::setCursorLogicPosition(const Point& rPosition, bool bPo
return true; return true;
} }
else if (aCellPos != maMouseDownPos) else if (aCellPos != maMouseDownPos)
{
// No selection, but rPosition is at an other cell: start table selection. // No selection, but rPosition is at an other cell: start table selection.
StartSelection(maMouseDownPos); StartSelection(maMouseDownPos);
// Update graphic selection, should be hidden now.
mpView->AdjustMarkHdl();
}
} }
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment