Tag: cws_src680_dba25 User: oj Date: 05/03/07 00:56:49 Modified: /dba/dbaccess/source/ui/browser/ sbagrid.cxx
Log: #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.70.102.1 Delta lines: +5 -4 ------------------- --- sbagrid.cxx 2 Aug 2004 17:17:31 -0000 1.70 +++ sbagrid.cxx 7 Mar 2005 08:56:46 -0000 1.70.102.1 @@ -2,9 +2,9 @@ * * $RCSfile: sbagrid.cxx,v $ * - * $Revision: 1.70 $ + * $Revision: 1.70.102.1 $ * - * last change: $Author: hr $ $Date: 2004/08/02 17:17:31 $ + * last change: $Author: oj $ $Date: 2005/03/07 08:56:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -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]
