1 diff -urp --exclude=CVS --exclude=unxlngi6.pro --exclude=sc.vpj sc.clean/source/core/data/table1.cxx sc/source/core/data/table1.cxx
2 --- sc.clean/source/core/data/table1.cxx 2008-03-11 09:39:38.000000000 -0400
3 +++ sc/source/core/data/table1.cxx 2008-03-11 17:26:50.000000000 -0400
4 @@ -819,6 +819,10 @@ BOOL ScTable::ValidNextPos( SCCOL nCol,
5 if (!ValidCol(nCol) || !ValidRow(nRow))
8 + if (pDocument->HasAttrib(nCol, nRow, nTab, nCol, nRow, nTab, HASATTR_OVERLAPPED))
9 + // Skip an overlapped cell.
12 if (bMarked && !rMark.IsCellMarked(nCol,nRow))
15 @@ -861,7 +865,8 @@ void ScTable::GetNextPos( SCCOL& rCol, S
17 BOOL bUp = ( nMovY < 0 );
18 nRow = rMark.GetNextMarked( nCol, nRow, bUp );
19 - while ( VALIDROW(nRow) && pRowFlags && (pRowFlags->GetValue(nRow) & CR_HIDDEN) )
20 + while ( VALIDROW(nRow) && ((pRowFlags && (pRowFlags->GetValue(nRow) & CR_HIDDEN)) ||
21 + pDocument->HasAttrib(nCol, nRow, nTab, nCol, nRow, nTab, HASATTR_OVERLAPPED)) )
23 // #53697# ausgeblendete ueberspringen (s.o.)
25 @@ -890,7 +895,8 @@ void ScTable::GetNextPos( SCCOL& rCol, S
26 else if (nRow > MAXROW)
28 nRow = rMark.GetNextMarked( nCol, nRow, bUp );
29 - while ( VALIDROW(nRow) && pRowFlags && (pRowFlags->GetValue(nRow) & CR_HIDDEN) )
30 + while ( VALIDROW(nRow) && ((pRowFlags && (pRowFlags->GetValue(nRow) & CR_HIDDEN)) ||
31 + pDocument->HasAttrib(nCol, nRow, nTab, nCol, nRow, nTab, HASATTR_OVERLAPPED)) )
33 // #53697# ausgeblendete ueberspringen (s.o.)