Tag: cws_dev300_dba30d
User: oj      
Date: 2008-05-28 12:55:17+0000
Modified:
   dba/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx

Log:
 #i81771# check correct field length

File Changes:

Directory: /dba/dbaccess/source/ui/querydesign/
===============================================

File [changed]: SelectionBrowseBox.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx?r1=1.81&r2=1.81.30.1
Delta lines:  +3 -3
-------------------
--- SelectionBrowseBox.cxx      2008-04-10 16:23:47+0000        1.81
+++ SelectionBrowseBox.cxx      2008-05-28 12:55:14+0000        1.81.30.1
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: SelectionBrowseBox.cxx,v $
- * $Revision: 1.81 $
+ * $Revision: 1.81.30.1 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -484,7 +484,7 @@
 CellController* OSelectionBrowseBox::GetController(long nRow, sal_uInt16 
nColId)
 {
        DBG_CHKTHIS(OSelectionBrowseBox,NULL);
-    if ( nColId >= getFields().size() )
+    if ( nColId > getFields().size() )
         return NULL;
        OTableFieldDescRef pEntry = getFields()[nColId-1];
        DBG_ASSERT(pEntry.isValid(), "OSelectionBrowseBox::GetController : 
keine FieldDescription !");




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to