Kaydet (Commit) e60b5899 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

fdo#88475 BrowseBox/grid: reposition data cursor to current row after paint

Change-Id: I0deee2c3cfdb111b178c4254d7b0544c4ce5c966
üst 556f9675
......@@ -1032,6 +1032,8 @@ void BrowseBox::ImplPaintData(OutputDevice& _rOut, const Rectangle& _rRect, bool
}
}
OSL_ENSURE(SeekRow(nCurRow), "BrowseBox::ImplPaintData could not seek back to current row after paint");
if (aPos.Y() > aOverallAreaBRPos.Y() + 1)
aPos.Y() = aOverallAreaBRPos.Y() + 1;
// needed for some of the following drawing
......
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