svtools/source/contnr/svimpbox.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit fef9bf4e39b041c7f13e4d1584e3086068e781fc Author: Caolán McNamara <caol...@redhat.com> Date: Thu Oct 9 13:50:20 2014 +0100 Resolves: fdo#82270 Grabbing focus can invalidate the entries Change-Id: Ie9b4f936cebdcf2a37e66abef456c6b0c0e26201 diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index c2fb5bd..aed04d3 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -2049,6 +2049,8 @@ void SvImpLBox::MouseButtonDown( const MouseEvent& rMEvt ) nCurTabPos = FIRST_ENTRY_TAB; nFlags &= (~F_FILLING); pView->GrabFocus(); + //fdo#82270 Grabbing focus can invalidate the entries, re-fetch + pEntry = GetEntry(aPos); // the entry can still be invalid! if( !pEntry || !pView->GetViewData( pEntry )) return;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits