[Libreoffice-commits] core.git: svtools/source
Caolán McNamara
caolanm at redhat.com
Thu Oct 9 05:51:53 PDT 2014
svtools/source/contnr/svimpbox.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit fef9bf4e39b041c7f13e4d1584e3086068e781fc
Author: Caolán McNamara <caolanm at 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;
More information about the Libreoffice-commits
mailing list