Kaydet (Commit) 46698bfa authored tarafından Markus Mohrhard's avatar Markus Mohrhard

that was just a complex way to describe that the whole range is in it

Change-Id: Ib204b6ab39872280c8889615170735ed8c1fc811
üst 9fe24ebe
......@@ -5360,8 +5360,8 @@ bool ScGridWindow::IsSpellErrorAtPos( const Point& rPos, SCCOL nCol1, SCCOL nCol
return false;
Rectangle aEditRect2 = pViewData->GetEditArea(eWhich, nCol2, nRow, this, pPattern, false);
long nExt = aEditRect2.Left() - aEditRect.Right() + aEditRect2.GetWidth();
aEditRect.setWidth(aEditRect.getWidth() + nExt);
long nWidth = aEditRect2.Right() - aEditRect.Left();
aEditRect.setWidth(nWidth);
MapMode aEditMode = pViewData->GetLogicMode(eWhich);
Rectangle aLogicEdit = PixelToLogic(aEditRect, aEditMode);
......
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