svtools/source/brwbox/brwbox2.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit e60b589952985edff12b1a28392ce6fa0ca8d9be Author: Lionel Elie Mamane <lio...@mamane.lu> Date: Fri Jan 16 17:08:07 2015 +0100 fdo#88475 BrowseBox/grid: reposition data cursor to current row after paint Change-Id: I0deee2c3cfdb111b178c4254d7b0544c4ce5c966 diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx index b64b7c4..70486e9 100644 --- a/svtools/source/brwbox/brwbox2.cxx +++ b/svtools/source/brwbox/brwbox2.cxx @@ -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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits