summaryrefslogtreecommitdiff
path: root/svtools/source/contnr
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-01-05 13:42:33 +0000
committerKurt Zenker <kz@openoffice.org>2006-01-05 13:42:33 +0000
commit13f9edfac9b5626336390947621a59872bd6c7ad (patch)
tree2dcc0a96d2edbd59fe6feab1796d859180e7819a /svtools/source/contnr
parent2eedfd14ab0ffc9b1526f37adfc19c4f7a7790ed (diff)
INTEGRATION: CWS os72 (1.46.124); FILE MERGED
2005/12/12 15:18:37 os 1.46.124.1: #120417# SvImpLBox::MouseButtonDown() additional check to validate current entry
Diffstat (limited to 'svtools/source/contnr')
-rw-r--r--svtools/source/contnr/svimpbox.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 4bd0630cb2fd..a7a9605e42e2 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svimpbox.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 14:54:46 $
+ * last change: $Author: kz $ $Date: 2006-01-05 14:42:33 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -2136,7 +2136,8 @@ void SvImpLBox::MouseButtonDown( const MouseEvent& rMEvt )
nCurTabPos = FIRST_ENTRY_TAB;
nFlags &= (~F_FILLING);
pView->GrabFocus();
- if( !pEntry )
+ // #120417# the entry can still be invalid!
+ if( !pEntry || !pView->GetViewData( pEntry ))
return;
long nY = GetEntryLine( pEntry );