User: obo     
Date: 05/03/18 02:08:27

Modified:
 /dba/dbaccess/source/ui/browser/
  sbagrid.cxx

Log:
 INTEGRATION: CWS dba25 (1.70.102); FILE MERGED
 2005/03/07 08:56:46 oj 1.70.102.1: #i44302# check if column pos is the handle 
column id

File Changes:

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

File [changed]: sbagrid.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/sbagrid.cxx?r1=1.70&r2=1.71
Delta lines:  +2 -1
-------------------
--- sbagrid.cxx 2 Aug 2004 17:17:31 -0000       1.70
+++ sbagrid.cxx 18 Mar 2005 10:08:25 -0000      1.71
@@ -1681,9 +1681,10 @@
                if (IsCurrentAppending())
                        --nCorrectRowCount;     // the current data record 
doesn't really exist, we are appending a new one
 
-               if ((nCol == BROWSER_INVALIDID) || (nRow >= nCorrectRowCount))
+               if ((nCol == BROWSER_INVALIDID) || (nRow >= nCorrectRowCount) 
|| GetColumnId(nCol) == 0 )
                        // no valid cell under the mouse cursor
                        break;
+        
                Rectangle aRect = GetCellRect(nRow, nCol, sal_False);
                if (!aRect.IsInside(rEvt.maPosPixel))
                        // not dropped within a cell (a cell isn't as wide as 
the column - the are small spaces)




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

Reply via email to